sys-apps/gcp: Bump to version 0.2.1
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Jun 2019 21:28:46 +0000 (23:28 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Jun 2019 21:28:46 +0000 (23:28 +0200)
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert <soap@gentoo.org>
sys-apps/gcp/Manifest
sys-apps/gcp/gcp-0.2.1.ebuild [new file with mode: 0644]

index 930c7758f66aa42c090b7ed4c66ee2734d89112c..f6b4b6af6b46e643c875f49b3bd13fa773f9afe1 100644 (file)
@@ -1 +1,2 @@
 DIST gcp-0.1.3.tar.bz2 30946 BLAKE2B 404adeb65396829afd1e51308e3e629b19dc8b27e142b349ee90282142b9fc151acad60010bf75031d9dc9ce805d5c561a6244994c1b69d1e7f87b76402984f3 SHA512 856561d7d1514b7e90ed4e976b4572b6a82113edb9c3127168053d8993f67ea4efa1d3d5543c318dd961ee9d42679232444e1f397b1c7ba22bfba6b5d7acfc76
+DIST gcp-0.2.1.tar.gz 33098 BLAKE2B 9affaf87db722c1e35fe71acf93521753a4372d42bf33892cde8605b17972ac46f616177114c5ccc36fad64011ae881ecc9382c79311dbca93ebedd04e688526 SHA512 900e08554e8f87e9572c52381c83bdcd89f02cab4fbf51335ddb81796057fa8bec156cf3ddab8712ed2c55ca7d6d0e1c209939ccead9bf7693d76bf882807017
diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
new file mode 100644 (file)
index 0000000..814287b
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="File copying utility with progress and I/O indicator"
+HOMEPAGE="https://code.lm7.fr/mcy/gcp"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="
+       dev-python/dbus-python[${PYTHON_USEDEP}]
+       dev-python/progressbar[${PYTHON_USEDEP}]
+       dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+       sed \
+               -e "s|'LICENSE', ||g" \
+               -e "s|man/man1|share/man/man1|g" \
+               -e "/share\/doc\/%s/d" \
+               -i setup.py || die
+
+       distutils-r1_python_prepare_all
+}