summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seren <guillaumeseren@gmail.com>2020-07-12 18:30:07 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-08-09 10:13:56 +0300
commitf2e4c7342163131415c42f2aac532593b40244e1 (patch)
treea005b3f9e4d06a454ad5a8503ae34f1cfd7aef58 /dev-python/urwidtrees
parentnet-mail/notmuch: install deprecated python bindings on 0.30 (diff)
downloadgentoo-f2e4c7342163131415c42f2aac532593b40244e1.tar.gz
gentoo-f2e4c7342163131415c42f2aac532593b40244e1.tar.bz2
gentoo-f2e4c7342163131415c42f2aac532593b40244e1.zip
dev-python/urwidtrees: Add version bump 1.0.3
Closes: https://bugs.gentoo.org/732360 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Guillaume Seren <guillaumeseren@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/urwidtrees')
-rw-r--r--dev-python/urwidtrees/Manifest1
-rw-r--r--dev-python/urwidtrees/urwidtrees-1.0.3.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/urwidtrees/Manifest b/dev-python/urwidtrees/Manifest
index 6fcb6da9e091..65ecd8506e0e 100644
--- a/dev-python/urwidtrees/Manifest
+++ b/dev-python/urwidtrees/Manifest
@@ -1 +1,2 @@
DIST urwidtrees-1.0.2.tar.gz 36082 BLAKE2B fd9dad1c1b0425fae95930b00149932a2fb5bf537c510ef4dd788408c315d6657553b92f6d1cc21769ed2a7af1a4c15c8c476d5d5b244f57032a5537ba92b27e SHA512 535b99d91154c308260a0ee6490868724ce8dfa89acf3b623c08409ec6e15194d9e94085411dd7796cad98865ed57692a88cbc11540e6523fc371eaf0204ac17
+DIST urwidtrees-1.0.3.tar.gz 292930 BLAKE2B 91487debf4878fb58cf2505366a4762a4c755b53eaac86e3ac912d2972c66442828e152749f34e73ade10fd1b912054e4047900e0b54b960629909c1b03e2270 SHA512 f7d69d359ba24345a694659fd9432335679f4b505a5c0e33baf9fc0c068935148c393aff8e11cd5f2c12aa26884aa37ba86e9b3a763472e382d73dd57fd32cd6
diff --git a/dev-python/urwidtrees/urwidtrees-1.0.3.ebuild b/dev-python/urwidtrees/urwidtrees-1.0.3.ebuild
new file mode 100644
index 000000000000..c435a32a3b0e
--- /dev/null
+++ b/dev-python/urwidtrees/urwidtrees-1.0.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Tree widgets for urwid"
+HOMEPAGE="https://github.com/pazz/urwidtrees"
+SRC_URI="https://github.com/pazz/urwidtrees/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=dev-python/urwid-1.1.0[${PYTHON_USEDEP}]"
+
+distutils_enable_sphinx docs/source
+
+src_prepare() {
+ find -name '*.py' -exec \
+ sed -i -e '1i# -*- coding: utf-8 -*-' {} + || die
+
+ distutils-r1_src_prepare
+
+ local md
+ for md in *.md; do
+ mv "${md}" "${md%.md}" || die
+ done
+}