[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2021-07-29 Thread David Seifert
commit: 96de61dca7a9b6e61b49b626f93178db41c225f8
Author: David Seifert  gentoo  org>
AuthorDate: Thu Jul 29 12:08:44 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jul 29 12:08:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96de61dc

sys-apps/gcp: reformat metadata.xml

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/metadata.xml | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
index e25cd064c44..70f78a5392d 100644
--- a/sys-apps/gcp/metadata.xml
+++ b/sys-apps/gcp/metadata.xml
@@ -1,7 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-s...@gentoo.org
-  
+   
+   s...@gentoo.org
+   David Seifert
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-18 Thread David Seifert
commit: 542628e1824726c4a1dad8ef485565ee8b50b752
Author: David Seifert  gentoo  org>
AuthorDate: Fri Sep 18 09:46:34 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Sep 18 09:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542628e1

sys-apps/gcp: Add python 3.8/3.9

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 3425601feba..040b1f0138f 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
-inherit distutils-r1
+inherit distutils-r1 virtualx
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
 HOMEPAGE="https://code.lm7.fr/mcy/gcp";
@@ -15,10 +15,20 @@ 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}]"
 
+distutils_enable_tests unittest
+
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   local -x PATH="${S}:${PATH}"
+   "${EPYTHON}" test/test_gcp.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-19 Thread David Seifert
commit: eaa5ccd0fa38ac6ce667b528e51508b394bd2beb
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep 19 12:54:02 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 19 12:54:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa5ccd0

sys-apps/gcp: Start dbus for tests

Bug: https://bugs.gentoo.org/743403
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 040b1f0138f..a3cfc30ce96 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -25,7 +25,9 @@ distutils_enable_tests unittest
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
 
 src_test() {
+   export $(dbus-launch)
virtx distutils-r1_src_test
+   kill -9 "${DBUS_SESSION_BUS_PID}"
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2022-01-22 Thread David Seifert
commit: 3cb01ccf2c7f9774f9534293c991c2dbafc59ebc
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 22 12:33:23 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 22 12:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb01ccf

sys-apps/gcp: add py3.10

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 94524a06be1a..256e317e0580 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2016-02-14 Thread David Seifert
commit: dae471051dc15831d9315b7f10f870d65bf47394
Author: David Seifert  gentoo  org>
AuthorDate: Sun Feb 14 16:06:09 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Feb 14 16:44:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae47105

sys-apps/gcp: New package

gcp is a python script that also includes a progress indicator.

Package-Manager: portage-2.2.27

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.1.3.ebuild | 29 +
 sys-apps/gcp/metadata.xml |  7 +++
 3 files changed, 37 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
new file mode 100644
index 000..be52f62
--- /dev/null
+++ b/sys-apps/gcp/Manifest
@@ -0,0 +1 @@
+DIST gcp-0.1.3.tar.bz2 30946 SHA256 
e53c6dd6146cb81421f10fe31c1a7175c24c4aabbc235e4e908b6dbab4e0c8bd SHA512 
856561d7d1514b7e90ed4e976b4572b6a82113edb9c3127168053d8993f67ea4efa1d3d5543c318dd961ee9d42679232444e1f397b1c7ba22bfba6b5d7acfc76
 WHIRLPOOL 
3d1349eef678a614c4b37624829c1063e0c650ad05845d26222f731b5c8fdca6415a86e73bc7e346383b32b7395961115e20ec38f845ce12ed3ce835bcd18c0e

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
new file mode 100644
index 000..43cd8d3
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="File copying utility with progress and I/O indicator"
+HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]"
+
+src_prepare() {
+   default
+   sed -e '/use_setuptools/d' \
+   -e 's#.\+share/doc.\+#],#' -i setup.py || die
+}

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
new file mode 100644
index 000..e25cd06
--- /dev/null
+++ b/sys-apps/gcp/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+s...@gentoo.org
+  
+



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2018-06-01 Thread Aaron Bauman
commit: 6d338cf38f49168637b0b782b6e3f5d0e77c2919
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Jun  1 16:58:27 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  2 00:56:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d338cf3

sys-apps/gcp: use HTTPs

Closes: https://github.com/gentoo/gentoo/pull/8680

 sys-apps/gcp/gcp-0.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
index 6c8ec4f3290..bc2f7a8a316 100644
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
 SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
 
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: 9d16278fcc4e35255ff550c0f72944f679072a8f
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:46 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d16278f

sys-apps/gcp: Bump to version 0.2.1

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index 930c7758f66..f6b4b6af6b4 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -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
index 000..814287b287f
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: fcdd6a50627e937c1672fb4bbcebfeabc3dd3aa1
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:49 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdd6a50

sys-apps/gcp: Remove old

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 -
 sys-apps/gcp/gcp-0.1.3.ebuild | 28 
 2 files changed, 29 deletions(-)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index f6b4b6af6b4..95ba1c71635 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -1,2 +1 @@
-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.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
deleted file mode 100644
index bc2f7a8a316..000
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
-SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]"
-
-src_prepare() {
-   default
-   sed -e '/use_setuptools/d' \
-   -e 's#.\+share/doc.\+#],#' -i setup.py || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2016-02-14 Thread David Seifert
commit: dae471051dc15831d9315b7f10f870d65bf47394
Author: David Seifert  gentoo  org>
AuthorDate: Sun Feb 14 16:06:09 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Feb 14 16:44:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae47105

sys-apps/gcp: New package

gcp is a python script that also includes a progress indicator.

Package-Manager: portage-2.2.27

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.1.3.ebuild | 29 +
 sys-apps/gcp/metadata.xml |  7 +++
 3 files changed, 37 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
new file mode 100644
index 000..be52f62
--- /dev/null
+++ b/sys-apps/gcp/Manifest
@@ -0,0 +1 @@
+DIST gcp-0.1.3.tar.bz2 30946 SHA256 
e53c6dd6146cb81421f10fe31c1a7175c24c4aabbc235e4e908b6dbab4e0c8bd SHA512 
856561d7d1514b7e90ed4e976b4572b6a82113edb9c3127168053d8993f67ea4efa1d3d5543c318dd961ee9d42679232444e1f397b1c7ba22bfba6b5d7acfc76
 WHIRLPOOL 
3d1349eef678a614c4b37624829c1063e0c650ad05845d26222f731b5c8fdca6415a86e73bc7e346383b32b7395961115e20ec38f845ce12ed3ce835bcd18c0e

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
new file mode 100644
index 000..43cd8d3
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="File copying utility with progress and I/O indicator"
+HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]"
+
+src_prepare() {
+   default
+   sed -e '/use_setuptools/d' \
+   -e 's#.\+share/doc.\+#],#' -i setup.py || die
+}

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
new file mode 100644
index 000..e25cd06
--- /dev/null
+++ b/sys-apps/gcp/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+s...@gentoo.org
+  
+



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2018-06-01 Thread Aaron Bauman
commit: 6d338cf38f49168637b0b782b6e3f5d0e77c2919
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Jun  1 16:58:27 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  2 00:56:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d338cf3

sys-apps/gcp: use HTTPs

Closes: https://github.com/gentoo/gentoo/pull/8680

 sys-apps/gcp/gcp-0.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
index 6c8ec4f3290..bc2f7a8a316 100644
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
 SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
 
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2022-01-22 Thread David Seifert
commit: 3cb01ccf2c7f9774f9534293c991c2dbafc59ebc
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 22 12:33:23 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 22 12:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb01ccf

sys-apps/gcp: add py3.10

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 94524a06be1a..256e317e0580 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2016-02-14 Thread David Seifert
commit: dae471051dc15831d9315b7f10f870d65bf47394
Author: David Seifert  gentoo  org>
AuthorDate: Sun Feb 14 16:06:09 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Feb 14 16:44:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae47105

sys-apps/gcp: New package

gcp is a python script that also includes a progress indicator.

Package-Manager: portage-2.2.27

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.1.3.ebuild | 29 +
 sys-apps/gcp/metadata.xml |  7 +++
 3 files changed, 37 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
new file mode 100644
index 000..be52f62
--- /dev/null
+++ b/sys-apps/gcp/Manifest
@@ -0,0 +1 @@
+DIST gcp-0.1.3.tar.bz2 30946 SHA256 
e53c6dd6146cb81421f10fe31c1a7175c24c4aabbc235e4e908b6dbab4e0c8bd SHA512 
856561d7d1514b7e90ed4e976b4572b6a82113edb9c3127168053d8993f67ea4efa1d3d5543c318dd961ee9d42679232444e1f397b1c7ba22bfba6b5d7acfc76
 WHIRLPOOL 
3d1349eef678a614c4b37624829c1063e0c650ad05845d26222f731b5c8fdca6415a86e73bc7e346383b32b7395961115e20ec38f845ce12ed3ce835bcd18c0e

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
new file mode 100644
index 000..43cd8d3
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="File copying utility with progress and I/O indicator"
+HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]"
+
+src_prepare() {
+   default
+   sed -e '/use_setuptools/d' \
+   -e 's#.\+share/doc.\+#],#' -i setup.py || die
+}

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
new file mode 100644
index 000..e25cd06
--- /dev/null
+++ b/sys-apps/gcp/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+s...@gentoo.org
+  
+



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2022-01-22 Thread David Seifert
commit: 3cb01ccf2c7f9774f9534293c991c2dbafc59ebc
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 22 12:33:23 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 22 12:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb01ccf

sys-apps/gcp: add py3.10

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 94524a06be1a..256e317e0580 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-18 Thread David Seifert
commit: 542628e1824726c4a1dad8ef485565ee8b50b752
Author: David Seifert  gentoo  org>
AuthorDate: Fri Sep 18 09:46:34 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Sep 18 09:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542628e1

sys-apps/gcp: Add python 3.8/3.9

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 3425601feba..040b1f0138f 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
-inherit distutils-r1
+inherit distutils-r1 virtualx
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
 HOMEPAGE="https://code.lm7.fr/mcy/gcp";
@@ -15,10 +15,20 @@ 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}]"
 
+distutils_enable_tests unittest
+
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   local -x PATH="${S}:${PATH}"
+   "${EPYTHON}" test/test_gcp.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-19 Thread David Seifert
commit: eaa5ccd0fa38ac6ce667b528e51508b394bd2beb
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep 19 12:54:02 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 19 12:54:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa5ccd0

sys-apps/gcp: Start dbus for tests

Bug: https://bugs.gentoo.org/743403
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 040b1f0138f..a3cfc30ce96 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -25,7 +25,9 @@ distutils_enable_tests unittest
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
 
 src_test() {
+   export $(dbus-launch)
virtx distutils-r1_src_test
+   kill -9 "${DBUS_SESSION_BUS_PID}"
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2021-07-29 Thread David Seifert
commit: 96de61dca7a9b6e61b49b626f93178db41c225f8
Author: David Seifert  gentoo  org>
AuthorDate: Thu Jul 29 12:08:44 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jul 29 12:08:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96de61dc

sys-apps/gcp: reformat metadata.xml

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/metadata.xml | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
index e25cd064c44..70f78a5392d 100644
--- a/sys-apps/gcp/metadata.xml
+++ b/sys-apps/gcp/metadata.xml
@@ -1,7 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-s...@gentoo.org
-  
+   
+   s...@gentoo.org
+   David Seifert
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2021-07-29 Thread David Seifert
commit: 96de61dca7a9b6e61b49b626f93178db41c225f8
Author: David Seifert  gentoo  org>
AuthorDate: Thu Jul 29 12:08:44 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jul 29 12:08:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96de61dc

sys-apps/gcp: reformat metadata.xml

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/metadata.xml | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
index e25cd064c44..70f78a5392d 100644
--- a/sys-apps/gcp/metadata.xml
+++ b/sys-apps/gcp/metadata.xml
@@ -1,7 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-s...@gentoo.org
-  
+   
+   s...@gentoo.org
+   David Seifert
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: 9d16278fcc4e35255ff550c0f72944f679072a8f
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:46 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d16278f

sys-apps/gcp: Bump to version 0.2.1

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index 930c7758f66..f6b4b6af6b4 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -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
index 000..814287b287f
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: fcdd6a50627e937c1672fb4bbcebfeabc3dd3aa1
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:49 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdd6a50

sys-apps/gcp: Remove old

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 -
 sys-apps/gcp/gcp-0.1.3.ebuild | 28 
 2 files changed, 29 deletions(-)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index f6b4b6af6b4..95ba1c71635 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -1,2 +1 @@
-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.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
deleted file mode 100644
index bc2f7a8a316..000
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
-SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]"
-
-src_prepare() {
-   default
-   sed -e '/use_setuptools/d' \
-   -e 's#.\+share/doc.\+#],#' -i setup.py || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2018-06-01 Thread Aaron Bauman
commit: 6d338cf38f49168637b0b782b6e3f5d0e77c2919
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Jun  1 16:58:27 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  2 00:56:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d338cf3

sys-apps/gcp: use HTTPs

Closes: https://github.com/gentoo/gentoo/pull/8680

 sys-apps/gcp/gcp-0.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
index 6c8ec4f3290..bc2f7a8a316 100644
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
 SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
 
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: 9d16278fcc4e35255ff550c0f72944f679072a8f
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:46 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d16278f

sys-apps/gcp: Bump to version 0.2.1

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index 930c7758f66..f6b4b6af6b4 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -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
index 000..814287b287f
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: fcdd6a50627e937c1672fb4bbcebfeabc3dd3aa1
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:49 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdd6a50

sys-apps/gcp: Remove old

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 -
 sys-apps/gcp/gcp-0.1.3.ebuild | 28 
 2 files changed, 29 deletions(-)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index f6b4b6af6b4..95ba1c71635 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -1,2 +1 @@
-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.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
deleted file mode 100644
index bc2f7a8a316..000
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
-SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]"
-
-src_prepare() {
-   default
-   sed -e '/use_setuptools/d' \
-   -e 's#.\+share/doc.\+#],#' -i setup.py || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2021-07-29 Thread David Seifert
commit: 96de61dca7a9b6e61b49b626f93178db41c225f8
Author: David Seifert  gentoo  org>
AuthorDate: Thu Jul 29 12:08:44 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jul 29 12:08:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96de61dc

sys-apps/gcp: reformat metadata.xml

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/metadata.xml | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
index e25cd064c44..70f78a5392d 100644
--- a/sys-apps/gcp/metadata.xml
+++ b/sys-apps/gcp/metadata.xml
@@ -1,7 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-s...@gentoo.org
-  
+   
+   s...@gentoo.org
+   David Seifert
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2022-01-22 Thread David Seifert
commit: 3cb01ccf2c7f9774f9534293c991c2dbafc59ebc
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 22 12:33:23 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 22 12:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb01ccf

sys-apps/gcp: add py3.10

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 94524a06be1a..256e317e0580 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-18 Thread David Seifert
commit: 542628e1824726c4a1dad8ef485565ee8b50b752
Author: David Seifert  gentoo  org>
AuthorDate: Fri Sep 18 09:46:34 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Sep 18 09:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542628e1

sys-apps/gcp: Add python 3.8/3.9

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 3425601feba..040b1f0138f 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
-inherit distutils-r1
+inherit distutils-r1 virtualx
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
 HOMEPAGE="https://code.lm7.fr/mcy/gcp";
@@ -15,10 +15,20 @@ 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}]"
 
+distutils_enable_tests unittest
+
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   local -x PATH="${S}:${PATH}"
+   "${EPYTHON}" test/test_gcp.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-19 Thread David Seifert
commit: eaa5ccd0fa38ac6ce667b528e51508b394bd2beb
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep 19 12:54:02 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 19 12:54:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa5ccd0

sys-apps/gcp: Start dbus for tests

Bug: https://bugs.gentoo.org/743403
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 040b1f0138f..a3cfc30ce96 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -25,7 +25,9 @@ distutils_enable_tests unittest
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
 
 src_test() {
+   export $(dbus-launch)
virtx distutils-r1_src_test
+   kill -9 "${DBUS_SESSION_BUS_PID}"
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2016-02-14 Thread David Seifert
commit: dae471051dc15831d9315b7f10f870d65bf47394
Author: David Seifert  gentoo  org>
AuthorDate: Sun Feb 14 16:06:09 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Feb 14 16:44:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae47105

sys-apps/gcp: New package

gcp is a python script that also includes a progress indicator.

Package-Manager: portage-2.2.27

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.1.3.ebuild | 29 +
 sys-apps/gcp/metadata.xml |  7 +++
 3 files changed, 37 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
new file mode 100644
index 000..be52f62
--- /dev/null
+++ b/sys-apps/gcp/Manifest
@@ -0,0 +1 @@
+DIST gcp-0.1.3.tar.bz2 30946 SHA256 
e53c6dd6146cb81421f10fe31c1a7175c24c4aabbc235e4e908b6dbab4e0c8bd SHA512 
856561d7d1514b7e90ed4e976b4572b6a82113edb9c3127168053d8993f67ea4efa1d3d5543c318dd961ee9d42679232444e1f397b1c7ba22bfba6b5d7acfc76
 WHIRLPOOL 
3d1349eef678a614c4b37624829c1063e0c650ad05845d26222f731b5c8fdca6415a86e73bc7e346383b32b7395961115e20ec38f845ce12ed3ce835bcd18c0e

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
new file mode 100644
index 000..43cd8d3
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="File copying utility with progress and I/O indicator"
+HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]"
+
+src_prepare() {
+   default
+   sed -e '/use_setuptools/d' \
+   -e 's#.\+share/doc.\+#],#' -i setup.py || die
+}

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
new file mode 100644
index 000..e25cd06
--- /dev/null
+++ b/sys-apps/gcp/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+s...@gentoo.org
+  
+



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: 9d16278fcc4e35255ff550c0f72944f679072a8f
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:46 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d16278f

sys-apps/gcp: Bump to version 0.2.1

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index 930c7758f66..f6b4b6af6b4 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -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
index 000..814287b287f
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: fcdd6a50627e937c1672fb4bbcebfeabc3dd3aa1
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:49 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdd6a50

sys-apps/gcp: Remove old

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 -
 sys-apps/gcp/gcp-0.1.3.ebuild | 28 
 2 files changed, 29 deletions(-)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index f6b4b6af6b4..95ba1c71635 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -1,2 +1 @@
-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.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
deleted file mode 100644
index bc2f7a8a316..000
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
-SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]"
-
-src_prepare() {
-   default
-   sed -e '/use_setuptools/d' \
-   -e 's#.\+share/doc.\+#],#' -i setup.py || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2018-06-01 Thread Aaron Bauman
commit: 6d338cf38f49168637b0b782b6e3f5d0e77c2919
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Jun  1 16:58:27 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  2 00:56:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d338cf3

sys-apps/gcp: use HTTPs

Closes: https://github.com/gentoo/gentoo/pull/8680

 sys-apps/gcp/gcp-0.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
index 6c8ec4f3290..bc2f7a8a316 100644
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
 SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
 
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-18 Thread David Seifert
commit: 542628e1824726c4a1dad8ef485565ee8b50b752
Author: David Seifert  gentoo  org>
AuthorDate: Fri Sep 18 09:46:34 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Sep 18 09:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542628e1

sys-apps/gcp: Add python 3.8/3.9

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 3425601feba..040b1f0138f 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
-inherit distutils-r1
+inherit distutils-r1 virtualx
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
 HOMEPAGE="https://code.lm7.fr/mcy/gcp";
@@ -15,10 +15,20 @@ 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}]"
 
+distutils_enable_tests unittest
+
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   local -x PATH="${S}:${PATH}"
+   "${EPYTHON}" test/test_gcp.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-19 Thread David Seifert
commit: eaa5ccd0fa38ac6ce667b528e51508b394bd2beb
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep 19 12:54:02 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 19 12:54:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa5ccd0

sys-apps/gcp: Start dbus for tests

Bug: https://bugs.gentoo.org/743403
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 040b1f0138f..a3cfc30ce96 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -25,7 +25,9 @@ distutils_enable_tests unittest
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
 
 src_test() {
+   export $(dbus-launch)
virtx distutils-r1_src_test
+   kill -9 "${DBUS_SESSION_BUS_PID}"
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2018-06-01 Thread Aaron Bauman
commit: 6d338cf38f49168637b0b782b6e3f5d0e77c2919
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Jun  1 16:58:27 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  2 00:56:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d338cf3

sys-apps/gcp: use HTTPs

Closes: https://github.com/gentoo/gentoo/pull/8680

 sys-apps/gcp/gcp-0.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
index 6c8ec4f3290..bc2f7a8a316 100644
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
 SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
 
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: 9d16278fcc4e35255ff550c0f72944f679072a8f
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:46 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d16278f

sys-apps/gcp: Bump to version 0.2.1

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index 930c7758f66..f6b4b6af6b4 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -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
index 000..814287b287f
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: fcdd6a50627e937c1672fb4bbcebfeabc3dd3aa1
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:49 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdd6a50

sys-apps/gcp: Remove old

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 -
 sys-apps/gcp/gcp-0.1.3.ebuild | 28 
 2 files changed, 29 deletions(-)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index f6b4b6af6b4..95ba1c71635 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -1,2 +1 @@
-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.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
deleted file mode 100644
index bc2f7a8a316..000
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
-SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]"
-
-src_prepare() {
-   default
-   sed -e '/use_setuptools/d' \
-   -e 's#.\+share/doc.\+#],#' -i setup.py || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2022-01-22 Thread David Seifert
commit: 3cb01ccf2c7f9774f9534293c991c2dbafc59ebc
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 22 12:33:23 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 22 12:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb01ccf

sys-apps/gcp: add py3.10

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 94524a06be1a..256e317e0580 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2022-01-22 Thread David Seifert
commit: 3cb01ccf2c7f9774f9534293c991c2dbafc59ebc
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 22 12:33:23 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 22 12:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb01ccf

sys-apps/gcp: add py3.10

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 94524a06be1a..256e317e0580 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2021-07-29 Thread David Seifert
commit: 96de61dca7a9b6e61b49b626f93178db41c225f8
Author: David Seifert  gentoo  org>
AuthorDate: Thu Jul 29 12:08:44 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jul 29 12:08:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96de61dc

sys-apps/gcp: reformat metadata.xml

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/metadata.xml | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
index e25cd064c44..70f78a5392d 100644
--- a/sys-apps/gcp/metadata.xml
+++ b/sys-apps/gcp/metadata.xml
@@ -1,7 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-s...@gentoo.org
-  
+   
+   s...@gentoo.org
+   David Seifert
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-18 Thread David Seifert
commit: 542628e1824726c4a1dad8ef485565ee8b50b752
Author: David Seifert  gentoo  org>
AuthorDate: Fri Sep 18 09:46:34 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Sep 18 09:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542628e1

sys-apps/gcp: Add python 3.8/3.9

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 3425601feba..040b1f0138f 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
-inherit distutils-r1
+inherit distutils-r1 virtualx
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
 HOMEPAGE="https://code.lm7.fr/mcy/gcp";
@@ -15,10 +15,20 @@ 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}]"
 
+distutils_enable_tests unittest
+
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   local -x PATH="${S}:${PATH}"
+   "${EPYTHON}" test/test_gcp.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-19 Thread David Seifert
commit: eaa5ccd0fa38ac6ce667b528e51508b394bd2beb
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep 19 12:54:02 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 19 12:54:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa5ccd0

sys-apps/gcp: Start dbus for tests

Bug: https://bugs.gentoo.org/743403
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 040b1f0138f..a3cfc30ce96 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -25,7 +25,9 @@ distutils_enable_tests unittest
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
 
 src_test() {
+   export $(dbus-launch)
virtx distutils-r1_src_test
+   kill -9 "${DBUS_SESSION_BUS_PID}"
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2016-02-14 Thread David Seifert
commit: dae471051dc15831d9315b7f10f870d65bf47394
Author: David Seifert  gentoo  org>
AuthorDate: Sun Feb 14 16:06:09 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Feb 14 16:44:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae47105

sys-apps/gcp: New package

gcp is a python script that also includes a progress indicator.

Package-Manager: portage-2.2.27

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.1.3.ebuild | 29 +
 sys-apps/gcp/metadata.xml |  7 +++
 3 files changed, 37 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
new file mode 100644
index 000..be52f62
--- /dev/null
+++ b/sys-apps/gcp/Manifest
@@ -0,0 +1 @@
+DIST gcp-0.1.3.tar.bz2 30946 SHA256 
e53c6dd6146cb81421f10fe31c1a7175c24c4aabbc235e4e908b6dbab4e0c8bd SHA512 
856561d7d1514b7e90ed4e976b4572b6a82113edb9c3127168053d8993f67ea4efa1d3d5543c318dd961ee9d42679232444e1f397b1c7ba22bfba6b5d7acfc76
 WHIRLPOOL 
3d1349eef678a614c4b37624829c1063e0c650ad05845d26222f731b5c8fdca6415a86e73bc7e346383b32b7395961115e20ec38f845ce12ed3ce835bcd18c0e

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
new file mode 100644
index 000..43cd8d3
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="File copying utility with progress and I/O indicator"
+HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]"
+
+src_prepare() {
+   default
+   sed -e '/use_setuptools/d' \
+   -e 's#.\+share/doc.\+#],#' -i setup.py || die
+}

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
new file mode 100644
index 000..e25cd06
--- /dev/null
+++ b/sys-apps/gcp/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+s...@gentoo.org
+  
+



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2021-07-29 Thread David Seifert
commit: 96de61dca7a9b6e61b49b626f93178db41c225f8
Author: David Seifert  gentoo  org>
AuthorDate: Thu Jul 29 12:08:44 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jul 29 12:08:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96de61dc

sys-apps/gcp: reformat metadata.xml

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/metadata.xml | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
index e25cd064c44..70f78a5392d 100644
--- a/sys-apps/gcp/metadata.xml
+++ b/sys-apps/gcp/metadata.xml
@@ -1,7 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-s...@gentoo.org
-  
+   
+   s...@gentoo.org
+   David Seifert
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-18 Thread David Seifert
commit: 542628e1824726c4a1dad8ef485565ee8b50b752
Author: David Seifert  gentoo  org>
AuthorDate: Fri Sep 18 09:46:34 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Sep 18 09:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542628e1

sys-apps/gcp: Add python 3.8/3.9

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 3425601feba..040b1f0138f 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
-inherit distutils-r1
+inherit distutils-r1 virtualx
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
 HOMEPAGE="https://code.lm7.fr/mcy/gcp";
@@ -15,10 +15,20 @@ 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}]"
 
+distutils_enable_tests unittest
+
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   local -x PATH="${S}:${PATH}"
+   "${EPYTHON}" test/test_gcp.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-19 Thread David Seifert
commit: eaa5ccd0fa38ac6ce667b528e51508b394bd2beb
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep 19 12:54:02 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 19 12:54:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa5ccd0

sys-apps/gcp: Start dbus for tests

Bug: https://bugs.gentoo.org/743403
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 040b1f0138f..a3cfc30ce96 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -25,7 +25,9 @@ distutils_enable_tests unittest
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
 
 src_test() {
+   export $(dbus-launch)
virtx distutils-r1_src_test
+   kill -9 "${DBUS_SESSION_BUS_PID}"
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: 9d16278fcc4e35255ff550c0f72944f679072a8f
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:46 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d16278f

sys-apps/gcp: Bump to version 0.2.1

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index 930c7758f66..f6b4b6af6b4 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -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
index 000..814287b287f
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: fcdd6a50627e937c1672fb4bbcebfeabc3dd3aa1
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:49 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdd6a50

sys-apps/gcp: Remove old

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 -
 sys-apps/gcp/gcp-0.1.3.ebuild | 28 
 2 files changed, 29 deletions(-)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index f6b4b6af6b4..95ba1c71635 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -1,2 +1 @@
-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.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
deleted file mode 100644
index bc2f7a8a316..000
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
-SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]"
-
-src_prepare() {
-   default
-   sed -e '/use_setuptools/d' \
-   -e 's#.\+share/doc.\+#],#' -i setup.py || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2018-06-01 Thread Aaron Bauman
commit: 6d338cf38f49168637b0b782b6e3f5d0e77c2919
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Jun  1 16:58:27 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  2 00:56:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d338cf3

sys-apps/gcp: use HTTPs

Closes: https://github.com/gentoo/gentoo/pull/8680

 sys-apps/gcp/gcp-0.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
index 6c8ec4f3290..bc2f7a8a316 100644
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
 SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
 
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2016-02-14 Thread David Seifert
commit: dae471051dc15831d9315b7f10f870d65bf47394
Author: David Seifert  gentoo  org>
AuthorDate: Sun Feb 14 16:06:09 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Feb 14 16:44:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae47105

sys-apps/gcp: New package

gcp is a python script that also includes a progress indicator.

Package-Manager: portage-2.2.27

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.1.3.ebuild | 29 +
 sys-apps/gcp/metadata.xml |  7 +++
 3 files changed, 37 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
new file mode 100644
index 000..be52f62
--- /dev/null
+++ b/sys-apps/gcp/Manifest
@@ -0,0 +1 @@
+DIST gcp-0.1.3.tar.bz2 30946 SHA256 
e53c6dd6146cb81421f10fe31c1a7175c24c4aabbc235e4e908b6dbab4e0c8bd SHA512 
856561d7d1514b7e90ed4e976b4572b6a82113edb9c3127168053d8993f67ea4efa1d3d5543c318dd961ee9d42679232444e1f397b1c7ba22bfba6b5d7acfc76
 WHIRLPOOL 
3d1349eef678a614c4b37624829c1063e0c650ad05845d26222f731b5c8fdca6415a86e73bc7e346383b32b7395961115e20ec38f845ce12ed3ce835bcd18c0e

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
new file mode 100644
index 000..43cd8d3
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="File copying utility with progress and I/O indicator"
+HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]"
+
+src_prepare() {
+   default
+   sed -e '/use_setuptools/d' \
+   -e 's#.\+share/doc.\+#],#' -i setup.py || die
+}

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
new file mode 100644
index 000..e25cd06
--- /dev/null
+++ b/sys-apps/gcp/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+s...@gentoo.org
+  
+



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2016-02-14 Thread David Seifert
commit: dae471051dc15831d9315b7f10f870d65bf47394
Author: David Seifert  gentoo  org>
AuthorDate: Sun Feb 14 16:06:09 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Feb 14 16:44:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae47105

sys-apps/gcp: New package

gcp is a python script that also includes a progress indicator.

Package-Manager: portage-2.2.27

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.1.3.ebuild | 29 +
 sys-apps/gcp/metadata.xml |  7 +++
 3 files changed, 37 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
new file mode 100644
index 000..be52f62
--- /dev/null
+++ b/sys-apps/gcp/Manifest
@@ -0,0 +1 @@
+DIST gcp-0.1.3.tar.bz2 30946 SHA256 
e53c6dd6146cb81421f10fe31c1a7175c24c4aabbc235e4e908b6dbab4e0c8bd SHA512 
856561d7d1514b7e90ed4e976b4572b6a82113edb9c3127168053d8993f67ea4efa1d3d5543c318dd961ee9d42679232444e1f397b1c7ba22bfba6b5d7acfc76
 WHIRLPOOL 
3d1349eef678a614c4b37624829c1063e0c650ad05845d26222f731b5c8fdca6415a86e73bc7e346383b32b7395961115e20ec38f845ce12ed3ce835bcd18c0e

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
new file mode 100644
index 000..43cd8d3
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="File copying utility with progress and I/O indicator"
+HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]"
+
+src_prepare() {
+   default
+   sed -e '/use_setuptools/d' \
+   -e 's#.\+share/doc.\+#],#' -i setup.py || die
+}

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
new file mode 100644
index 000..e25cd06
--- /dev/null
+++ b/sys-apps/gcp/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+s...@gentoo.org
+  
+



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2022-01-22 Thread David Seifert
commit: 3cb01ccf2c7f9774f9534293c991c2dbafc59ebc
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 22 12:33:23 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 22 12:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb01ccf

sys-apps/gcp: add py3.10

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 94524a06be1a..256e317e0580 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2021-07-29 Thread David Seifert
commit: 96de61dca7a9b6e61b49b626f93178db41c225f8
Author: David Seifert  gentoo  org>
AuthorDate: Thu Jul 29 12:08:44 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jul 29 12:08:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96de61dc

sys-apps/gcp: reformat metadata.xml

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/metadata.xml | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
index e25cd064c44..70f78a5392d 100644
--- a/sys-apps/gcp/metadata.xml
+++ b/sys-apps/gcp/metadata.xml
@@ -1,7 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-s...@gentoo.org
-  
+   
+   s...@gentoo.org
+   David Seifert
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: 9d16278fcc4e35255ff550c0f72944f679072a8f
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:46 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d16278f

sys-apps/gcp: Bump to version 0.2.1

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index 930c7758f66..f6b4b6af6b4 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -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
index 000..814287b287f
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: fcdd6a50627e937c1672fb4bbcebfeabc3dd3aa1
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:49 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdd6a50

sys-apps/gcp: Remove old

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 -
 sys-apps/gcp/gcp-0.1.3.ebuild | 28 
 2 files changed, 29 deletions(-)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index f6b4b6af6b4..95ba1c71635 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -1,2 +1 @@
-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.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
deleted file mode 100644
index bc2f7a8a316..000
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
-SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]"
-
-src_prepare() {
-   default
-   sed -e '/use_setuptools/d' \
-   -e 's#.\+share/doc.\+#],#' -i setup.py || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-18 Thread David Seifert
commit: 542628e1824726c4a1dad8ef485565ee8b50b752
Author: David Seifert  gentoo  org>
AuthorDate: Fri Sep 18 09:46:34 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Sep 18 09:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542628e1

sys-apps/gcp: Add python 3.8/3.9

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 3425601feba..040b1f0138f 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
-inherit distutils-r1
+inherit distutils-r1 virtualx
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
 HOMEPAGE="https://code.lm7.fr/mcy/gcp";
@@ -15,10 +15,20 @@ 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}]"
 
+distutils_enable_tests unittest
+
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   local -x PATH="${S}:${PATH}"
+   "${EPYTHON}" test/test_gcp.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-19 Thread David Seifert
commit: eaa5ccd0fa38ac6ce667b528e51508b394bd2beb
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep 19 12:54:02 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 19 12:54:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa5ccd0

sys-apps/gcp: Start dbus for tests

Bug: https://bugs.gentoo.org/743403
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 040b1f0138f..a3cfc30ce96 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -25,7 +25,9 @@ distutils_enable_tests unittest
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
 
 src_test() {
+   export $(dbus-launch)
virtx distutils-r1_src_test
+   kill -9 "${DBUS_SESSION_BUS_PID}"
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2021-07-29 Thread David Seifert
commit: 96de61dca7a9b6e61b49b626f93178db41c225f8
Author: David Seifert  gentoo  org>
AuthorDate: Thu Jul 29 12:08:44 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jul 29 12:08:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96de61dc

sys-apps/gcp: reformat metadata.xml

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/metadata.xml | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
index e25cd064c44..70f78a5392d 100644
--- a/sys-apps/gcp/metadata.xml
+++ b/sys-apps/gcp/metadata.xml
@@ -1,7 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-s...@gentoo.org
-  
+   
+   s...@gentoo.org
+   David Seifert
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: 9d16278fcc4e35255ff550c0f72944f679072a8f
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:46 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d16278f

sys-apps/gcp: Bump to version 0.2.1

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index 930c7758f66..f6b4b6af6b4 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -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
index 000..814287b287f
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2019-06-23 Thread David Seifert
commit: fcdd6a50627e937c1672fb4bbcebfeabc3dd3aa1
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 21:28:49 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 21:28:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdd6a50

sys-apps/gcp: Remove old

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/Manifest |  1 -
 sys-apps/gcp/gcp-0.1.3.ebuild | 28 
 2 files changed, 29 deletions(-)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
index f6b4b6af6b4..95ba1c71635 100644
--- a/sys-apps/gcp/Manifest
+++ b/sys-apps/gcp/Manifest
@@ -1,2 +1 @@
-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.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
deleted file mode 100644
index bc2f7a8a316..000
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
-SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]"
-
-src_prepare() {
-   default
-   sed -e '/use_setuptools/d' \
-   -e 's#.\+share/doc.\+#],#' -i setup.py || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-18 Thread David Seifert
commit: 542628e1824726c4a1dad8ef485565ee8b50b752
Author: David Seifert  gentoo  org>
AuthorDate: Fri Sep 18 09:46:34 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Sep 18 09:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542628e1

sys-apps/gcp: Add python 3.8/3.9

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 3425601feba..040b1f0138f 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
-inherit distutils-r1
+inherit distutils-r1 virtualx
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
 HOMEPAGE="https://code.lm7.fr/mcy/gcp";
@@ -15,10 +15,20 @@ 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}]"
 
+distutils_enable_tests unittest
+
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   local -x PATH="${S}:${PATH}"
+   "${EPYTHON}" test/test_gcp.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2020-09-19 Thread David Seifert
commit: eaa5ccd0fa38ac6ce667b528e51508b394bd2beb
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep 19 12:54:02 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 19 12:54:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa5ccd0

sys-apps/gcp: Start dbus for tests

Bug: https://bugs.gentoo.org/743403
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 040b1f0138f..a3cfc30ce96 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -25,7 +25,9 @@ distutils_enable_tests unittest
 PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
 
 src_test() {
+   export $(dbus-launch)
virtx distutils-r1_src_test
+   kill -9 "${DBUS_SESSION_BUS_PID}"
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2016-02-14 Thread David Seifert
commit: dae471051dc15831d9315b7f10f870d65bf47394
Author: David Seifert  gentoo  org>
AuthorDate: Sun Feb 14 16:06:09 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Feb 14 16:44:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae47105

sys-apps/gcp: New package

gcp is a python script that also includes a progress indicator.

Package-Manager: portage-2.2.27

 sys-apps/gcp/Manifest |  1 +
 sys-apps/gcp/gcp-0.1.3.ebuild | 29 +
 sys-apps/gcp/metadata.xml |  7 +++
 3 files changed, 37 insertions(+)

diff --git a/sys-apps/gcp/Manifest b/sys-apps/gcp/Manifest
new file mode 100644
index 000..be52f62
--- /dev/null
+++ b/sys-apps/gcp/Manifest
@@ -0,0 +1 @@
+DIST gcp-0.1.3.tar.bz2 30946 SHA256 
e53c6dd6146cb81421f10fe31c1a7175c24c4aabbc235e4e908b6dbab4e0c8bd SHA512 
856561d7d1514b7e90ed4e976b4572b6a82113edb9c3127168053d8993f67ea4efa1d3d5543c318dd961ee9d42679232444e1f397b1c7ba22bfba6b5d7acfc76
 WHIRLPOOL 
3d1349eef678a614c4b37624829c1063e0c650ad05845d26222f731b5c8fdca6415a86e73bc7e346383b32b7395961115e20ec38f845ce12ed3ce835bcd18c0e

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
new file mode 100644
index 000..43cd8d3
--- /dev/null
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="File copying utility with progress and I/O indicator"
+HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/progressbar[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]"
+
+src_prepare() {
+   default
+   sed -e '/use_setuptools/d' \
+   -e 's#.\+share/doc.\+#],#' -i setup.py || die
+}

diff --git a/sys-apps/gcp/metadata.xml b/sys-apps/gcp/metadata.xml
new file mode 100644
index 000..e25cd06
--- /dev/null
+++ b/sys-apps/gcp/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+s...@gentoo.org
+  
+



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2018-06-01 Thread Aaron Bauman
commit: 6d338cf38f49168637b0b782b6e3f5d0e77c2919
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Jun  1 16:58:27 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  2 00:56:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d338cf3

sys-apps/gcp: use HTTPs

Closes: https://github.com/gentoo/gentoo/pull/8680

 sys-apps/gcp/gcp-0.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
index 6c8ec4f3290..bc2f7a8a316 100644
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
 SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
 
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2018-06-01 Thread Aaron Bauman
commit: 6d338cf38f49168637b0b782b6e3f5d0e77c2919
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Jun  1 16:58:27 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun  2 00:56:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d338cf3

sys-apps/gcp: use HTTPs

Closes: https://github.com/gentoo/gentoo/pull/8680

 sys-apps/gcp/gcp-0.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.1.3.ebuild b/sys-apps/gcp/gcp-0.1.3.ebuild
index 6c8ec4f3290..bc2f7a8a316 100644
--- a/sys-apps/gcp/gcp-0.1.3.ebuild
+++ b/sys-apps/gcp/gcp-0.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 inherit distutils-r1
 
 DESCRIPTION="File copying utility with progress and I/O indicator"
-HOMEPAGE="http://wiki.goffi.org/wiki/Gcp/en";
+HOMEPAGE="https://wiki.goffi.org/wiki/Gcp/en";
 SRC_URI="ftp://ftp.goffi.org/${PN}/${P}.tar.bz2";
 
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2022-01-22 Thread David Seifert
commit: 3cb01ccf2c7f9774f9534293c991c2dbafc59ebc
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 22 12:33:23 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 22 12:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb01ccf

sys-apps/gcp: add py3.10

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 94524a06be1a..256e317e0580 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2023-03-14 Thread David Seifert
commit: 128980558b67c566dc2b1137068d506cd3da0168
Author: David Seifert  gentoo  org>
AuthorDate: Tue Mar 14 11:40:31 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Mar 14 11:40:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12898055

sys-apps/gcp: enable py3.11

Closes: https://bugs.gentoo.org/897254
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index e8029e22ec77..2e3b7c77f08e 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit distutils-r1 virtualx
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/

2023-03-16 Thread Michał Górny
commit: 74c5efcc25a28e24be3440f18b990559f01f8aae
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 16 16:04:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 16 18:50:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74c5efcc

sys-apps/gcp: Use pypi.eclass

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/gcp/gcp-0.2.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 2e3b7c77f08e..19d1a7112278 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -5,11 +5,10 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit distutils-r1 virtualx
+inherit distutils-r1 virtualx pypi
 
 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"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/, sys-apps/gcp/files/

2019-06-23 Thread David Seifert
commit: a1c9ad3c7b200df80ad418ec64f33ea38875966b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 23:56:38 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 23:56:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c9ad3c

sys-apps/gcp: Replace sed with patch

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch | 13 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 10 +-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch 
b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
new file mode 100644
index 000..78ddb5d0961
--- /dev/null
+++ b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
@@ -0,0 +1,13 @@
+--- a/setup.py
 b/setup.py
+@@ -41,9 +41,8 @@
+ #'console_scripts': ['gcp=gcp:main'],
+ #},
+ data_files=[
+-('man/man1', ["gcp.1"]),
++('share/man/man1', ["gcp.1"]),
+ ('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']),
+-('share/doc/%s' % name, ['CHANGELOG', 'LICENSE', 'README.md']),
+ ],
+ install_requires=['PyGObject', 'dbus-python'],
+ python_requires='>=3',

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 814287b287f..3425601feba 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -21,12 +21,4 @@ RDEPEND="
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
-}
+PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/, sys-apps/gcp/files/

2019-06-23 Thread David Seifert
commit: a1c9ad3c7b200df80ad418ec64f33ea38875966b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 23:56:38 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 23:56:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c9ad3c

sys-apps/gcp: Replace sed with patch

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch | 13 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 10 +-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch 
b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
new file mode 100644
index 000..78ddb5d0961
--- /dev/null
+++ b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
@@ -0,0 +1,13 @@
+--- a/setup.py
 b/setup.py
+@@ -41,9 +41,8 @@
+ #'console_scripts': ['gcp=gcp:main'],
+ #},
+ data_files=[
+-('man/man1', ["gcp.1"]),
++('share/man/man1', ["gcp.1"]),
+ ('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']),
+-('share/doc/%s' % name, ['CHANGELOG', 'LICENSE', 'README.md']),
+ ],
+ install_requires=['PyGObject', 'dbus-python'],
+ python_requires='>=3',

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 814287b287f..3425601feba 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -21,12 +21,4 @@ RDEPEND="
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
-}
+PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/, sys-apps/gcp/files/

2019-06-23 Thread David Seifert
commit: a1c9ad3c7b200df80ad418ec64f33ea38875966b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 23:56:38 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 23:56:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c9ad3c

sys-apps/gcp: Replace sed with patch

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch | 13 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 10 +-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch 
b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
new file mode 100644
index 000..78ddb5d0961
--- /dev/null
+++ b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
@@ -0,0 +1,13 @@
+--- a/setup.py
 b/setup.py
+@@ -41,9 +41,8 @@
+ #'console_scripts': ['gcp=gcp:main'],
+ #},
+ data_files=[
+-('man/man1', ["gcp.1"]),
++('share/man/man1', ["gcp.1"]),
+ ('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']),
+-('share/doc/%s' % name, ['CHANGELOG', 'LICENSE', 'README.md']),
+ ],
+ install_requires=['PyGObject', 'dbus-python'],
+ python_requires='>=3',

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 814287b287f..3425601feba 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -21,12 +21,4 @@ RDEPEND="
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
-}
+PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/, sys-apps/gcp/files/

2019-06-23 Thread David Seifert
commit: a1c9ad3c7b200df80ad418ec64f33ea38875966b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 23:56:38 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 23:56:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c9ad3c

sys-apps/gcp: Replace sed with patch

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch | 13 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 10 +-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch 
b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
new file mode 100644
index 000..78ddb5d0961
--- /dev/null
+++ b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
@@ -0,0 +1,13 @@
+--- a/setup.py
 b/setup.py
+@@ -41,9 +41,8 @@
+ #'console_scripts': ['gcp=gcp:main'],
+ #},
+ data_files=[
+-('man/man1', ["gcp.1"]),
++('share/man/man1', ["gcp.1"]),
+ ('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']),
+-('share/doc/%s' % name, ['CHANGELOG', 'LICENSE', 'README.md']),
+ ],
+ install_requires=['PyGObject', 'dbus-python'],
+ python_requires='>=3',

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 814287b287f..3425601feba 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -21,12 +21,4 @@ RDEPEND="
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
-}
+PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/, sys-apps/gcp/files/

2019-06-23 Thread David Seifert
commit: a1c9ad3c7b200df80ad418ec64f33ea38875966b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 23:56:38 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 23:56:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c9ad3c

sys-apps/gcp: Replace sed with patch

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch | 13 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 10 +-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch 
b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
new file mode 100644
index 000..78ddb5d0961
--- /dev/null
+++ b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
@@ -0,0 +1,13 @@
+--- a/setup.py
 b/setup.py
+@@ -41,9 +41,8 @@
+ #'console_scripts': ['gcp=gcp:main'],
+ #},
+ data_files=[
+-('man/man1', ["gcp.1"]),
++('share/man/man1', ["gcp.1"]),
+ ('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']),
+-('share/doc/%s' % name, ['CHANGELOG', 'LICENSE', 'README.md']),
+ ],
+ install_requires=['PyGObject', 'dbus-python'],
+ python_requires='>=3',

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 814287b287f..3425601feba 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -21,12 +21,4 @@ RDEPEND="
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
-}
+PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/, sys-apps/gcp/files/

2019-06-23 Thread David Seifert
commit: a1c9ad3c7b200df80ad418ec64f33ea38875966b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 23:56:38 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 23:56:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c9ad3c

sys-apps/gcp: Replace sed with patch

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch | 13 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 10 +-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch 
b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
new file mode 100644
index 000..78ddb5d0961
--- /dev/null
+++ b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
@@ -0,0 +1,13 @@
+--- a/setup.py
 b/setup.py
+@@ -41,9 +41,8 @@
+ #'console_scripts': ['gcp=gcp:main'],
+ #},
+ data_files=[
+-('man/man1', ["gcp.1"]),
++('share/man/man1', ["gcp.1"]),
+ ('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']),
+-('share/doc/%s' % name, ['CHANGELOG', 'LICENSE', 'README.md']),
+ ],
+ install_requires=['PyGObject', 'dbus-python'],
+ python_requires='>=3',

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 814287b287f..3425601feba 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -21,12 +21,4 @@ RDEPEND="
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
-}
+PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/, sys-apps/gcp/files/

2019-06-23 Thread David Seifert
commit: a1c9ad3c7b200df80ad418ec64f33ea38875966b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 23:56:38 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 23:56:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c9ad3c

sys-apps/gcp: Replace sed with patch

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch | 13 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 10 +-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch 
b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
new file mode 100644
index 000..78ddb5d0961
--- /dev/null
+++ b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
@@ -0,0 +1,13 @@
+--- a/setup.py
 b/setup.py
+@@ -41,9 +41,8 @@
+ #'console_scripts': ['gcp=gcp:main'],
+ #},
+ data_files=[
+-('man/man1', ["gcp.1"]),
++('share/man/man1', ["gcp.1"]),
+ ('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']),
+-('share/doc/%s' % name, ['CHANGELOG', 'LICENSE', 'README.md']),
+ ],
+ install_requires=['PyGObject', 'dbus-python'],
+ python_requires='>=3',

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 814287b287f..3425601feba 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -21,12 +21,4 @@ RDEPEND="
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
-}
+PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )



[gentoo-commits] repo/gentoo:master commit in: sys-apps/gcp/, sys-apps/gcp/files/

2019-06-23 Thread David Seifert
commit: a1c9ad3c7b200df80ad418ec64f33ea38875966b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 23 23:56:38 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 23 23:56:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c9ad3c

sys-apps/gcp: Replace sed with patch

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch | 13 +
 sys-apps/gcp/gcp-0.2.1.ebuild | 10 +-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch 
b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
new file mode 100644
index 000..78ddb5d0961
--- /dev/null
+++ b/sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
@@ -0,0 +1,13 @@
+--- a/setup.py
 b/setup.py
+@@ -41,9 +41,8 @@
+ #'console_scripts': ['gcp=gcp:main'],
+ #},
+ data_files=[
+-('man/man1', ["gcp.1"]),
++('share/man/man1', ["gcp.1"]),
+ ('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']),
+-('share/doc/%s' % name, ['CHANGELOG', 'LICENSE', 'README.md']),
+ ],
+ install_requires=['PyGObject', 'dbus-python'],
+ python_requires='>=3',

diff --git a/sys-apps/gcp/gcp-0.2.1.ebuild b/sys-apps/gcp/gcp-0.2.1.ebuild
index 814287b287f..3425601feba 100644
--- a/sys-apps/gcp/gcp-0.2.1.ebuild
+++ b/sys-apps/gcp/gcp-0.2.1.ebuild
@@ -21,12 +21,4 @@ RDEPEND="
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
-}
+PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )