[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2023-05-03 Thread Anna Vyalkova
commit: 34ba6c94bb00c0e21c9bedc83746391c32f68434
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Thu May  4 02:00:48 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Thu May  4 02:00:48 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34ba6c94

dev-python/compreffor: remove csources

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/compreffor/compreffor-0.5.2.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-python/compreffor/compreffor-0.5.2.ebuild 
b/dev-python/compreffor/compreffor-0.5.2.ebuild
index c8aea9ea1..96e9e4efa 100644
--- a/dev-python/compreffor/compreffor-0.5.2.ebuild
+++ b/dev-python/compreffor/compreffor-0.5.2.ebuild
@@ -28,6 +28,11 @@ PATCHES=( 
"${FILESDIR}/${PN}-0.5.1_p1-remove-unwanted-dependencies.patch" )
 
 distutils_enable_tests pytest
 
+src_prepare() {
+   find "${S}" -name '*.cpp' -delete || die
+   distutils-r1_src_prepare
+}
+
 python_test() {
cd "${T}" || die
epytest --pyargs compreffor



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2023-05-03 Thread Anna Vyalkova
commit: fa5fd1ffd239761437bf28da92c62109a6093290
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Thu May  4 01:08:25 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Thu May  4 01:13:16 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa5fd1ff

dev-python/compreffor: set DISTUTILS_EXT=1

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/compreffor/compreffor-0.5.2.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-python/compreffor/compreffor-0.5.2.ebuild 
b/dev-python/compreffor/compreffor-0.5.2.ebuild
index 6cebfb487..c8aea9ea1 100644
--- a/dev-python/compreffor/compreffor-0.5.2.ebuild
+++ b/dev-python/compreffor/compreffor-0.5.2.ebuild
@@ -1,16 +1,17 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
 inherit distutils-r1 pypi
 
 DESCRIPTION="A CFF table subroutinizer for FontTools"
 HOMEPAGE="
-   https://github.com/googlefonts/compreffor
https://pypi.org/project/compreffor/
+   https://github.com/googlefonts/compreffor
 "
 
 KEYWORDS="~amd64"
@@ -18,10 +19,9 @@ LICENSE="Apache-2.0"
 SLOT="0"
 
 RDEPEND=">=dev-python/fonttools-4[${PYTHON_USEDEP}]"
-DEPEND=">=dev-python/cython-0.29.24[${PYTHON_USEDEP}]"
 BDEPEND="
app-arch/unzip
-   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   >=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
 "
 
 PATCHES=( "${FILESDIR}/${PN}-0.5.1_p1-remove-unwanted-dependencies.patch" )



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2023-02-24 Thread Anna Vyalkova
commit: 6d59766913eeff332429a8f2c7a2f3e39084e6c2
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Feb 24 23:21:45 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Fri Feb 24 23:21:45 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6d597669

dev-python/compreffor: drop 0.5.1_p1

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/compreffor/Manifest   |  1 -
 dev-python/compreffor/compreffor-0.5.1_p1.ebuild | 37 
 2 files changed, 38 deletions(-)

diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest
index d1f00dd2d..b33c18671 100644
--- a/dev-python/compreffor/Manifest
+++ b/dev-python/compreffor/Manifest
@@ -1,2 +1 @@
-DIST compreffor-0.5.1.post1.tar.gz 75132 BLAKE2B 
ed37118c45d616029dad90451240ff7d5eb131ecd080c713ccc8241d3288a869f5e2950524b0faf58e895c8f1e76e0da8df24cc0526a1ce342d509de856fc0e2
 SHA512 
eaab7e01b158f68c28c946f39af80bd8313b9338301aee8a4119de243442791d68cf7edc0e8ac86efc0cadf6115de89f38ec445cf5ce13055aed44dcfaeb3eed
 DIST compreffor-0.5.2.tar.gz 76299 BLAKE2B 
254329875fbafd9a4887a696a2b21ae1695e03fe337fb0f5e48c2b2e242941114d7cf16c966e85c690302152da06bd21f7bb713fe92c139893299468b461e466
 SHA512 
9806141022163804f02b1ee14552bc2e8e9b7350110c42aca1c74bd6af049f3032920e5299dd59961bb24e69b97fa748478f8be2f25fd90ae2e3d0d1ce4c22c0

diff --git a/dev-python/compreffor/compreffor-0.5.1_p1.ebuild 
b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild
deleted file mode 100644
index da496b718..0
--- a/dev-python/compreffor/compreffor-0.5.1_p1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-MY_P="${PN}-${PV/_p/.post}"
-DESCRIPTION="A CFF table subroutinizer for FontTools"
-HOMEPAGE="
-   https://github.com/googlefonts/compreffor
-   https://pypi.org/project/compreffor/
-"
-SRC_URI="mirror://pypi/${MY_P:0:1}/${PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-KEYWORDS="~amd64"
-LICENSE="Apache-2.0"
-SLOT="0"
-
-RDEPEND=">=dev-python/fonttools-4[${PYTHON_USEDEP}]"
-DEPEND=">=dev-python/cython-0.29.24[${PYTHON_USEDEP}]"
-BDEPEND="
-   app-arch/unzip
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-"
-
-PATCHES=( "${FILESDIR}/${P}-remove-unwanted-dependencies.patch" )
-
-distutils_enable_tests pytest
-
-python_test() {
-   cd "${T}" || die
-   epytest --pyargs compreffor
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2022-06-28 Thread Alessandro Barbieri
commit: 2edabf1732d20b5679e43b29dcdc21a4cf7ccf91
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Tue Jun 28 08:46:41 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Tue Jun 28 08:46:41 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2edabf17

dev-python/compreffor: fix patch name

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/compreffor/compreffor-0.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/compreffor/compreffor-0.5.2.ebuild 
b/dev-python/compreffor/compreffor-0.5.2.ebuild
index da496b718..3c6e720fc 100644
--- a/dev-python/compreffor/compreffor-0.5.2.ebuild
+++ b/dev-python/compreffor/compreffor-0.5.2.ebuild
@@ -27,7 +27,7 @@ BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
 "
 
-PATCHES=( "${FILESDIR}/${P}-remove-unwanted-dependencies.patch" )
+PATCHES=( "${FILESDIR}/${PN}-0.5.1_p1-remove-unwanted-dependencies.patch" )
 
 distutils_enable_tests pytest
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2022-06-27 Thread Alessandro Barbieri
commit: 5be5635c6177415e74ab44888d735fe51307a7b1
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Tue Jun 28 04:27:10 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Tue Jun 28 04:34:29 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5be5635c

dev-python/compreffor: add 0.5.2

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/compreffor/Manifest|  1 +
 dev-python/compreffor/compreffor-0.5.2.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest
index fe4babae3..d1f00dd2d 100644
--- a/dev-python/compreffor/Manifest
+++ b/dev-python/compreffor/Manifest
@@ -1 +1,2 @@
 DIST compreffor-0.5.1.post1.tar.gz 75132 BLAKE2B 
ed37118c45d616029dad90451240ff7d5eb131ecd080c713ccc8241d3288a869f5e2950524b0faf58e895c8f1e76e0da8df24cc0526a1ce342d509de856fc0e2
 SHA512 
eaab7e01b158f68c28c946f39af80bd8313b9338301aee8a4119de243442791d68cf7edc0e8ac86efc0cadf6115de89f38ec445cf5ce13055aed44dcfaeb3eed
+DIST compreffor-0.5.2.tar.gz 76299 BLAKE2B 
254329875fbafd9a4887a696a2b21ae1695e03fe337fb0f5e48c2b2e242941114d7cf16c966e85c690302152da06bd21f7bb713fe92c139893299468b461e466
 SHA512 
9806141022163804f02b1ee14552bc2e8e9b7350110c42aca1c74bd6af049f3032920e5299dd59961bb24e69b97fa748478f8be2f25fd90ae2e3d0d1ce4c22c0

diff --git a/dev-python/compreffor/compreffor-0.5.2.ebuild 
b/dev-python/compreffor/compreffor-0.5.2.ebuild
new file mode 100644
index 0..da496b718
--- /dev/null
+++ b/dev-python/compreffor/compreffor-0.5.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+MY_P="${PN}-${PV/_p/.post}"
+DESCRIPTION="A CFF table subroutinizer for FontTools"
+HOMEPAGE="
+   https://github.com/googlefonts/compreffor
+   https://pypi.org/project/compreffor/
+"
+SRC_URI="mirror://pypi/${MY_P:0:1}/${PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~amd64"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND=">=dev-python/fonttools-4[${PYTHON_USEDEP}]"
+DEPEND=">=dev-python/cython-0.29.24[${PYTHON_USEDEP}]"
+BDEPEND="
+   app-arch/unzip
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+
+PATCHES=( "${FILESDIR}/${P}-remove-unwanted-dependencies.patch" )
+
+distutils_enable_tests pytest
+
+python_test() {
+   cd "${T}" || die
+   epytest --pyargs compreffor
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2022-03-18 Thread Alessandro Barbieri
commit: 5dc2cafaf7f6e2cf257ac9a5b726b70091d5565b
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Mar 18 10:00:49 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Mar 18 10:00:49 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5dc2cafa

dev-python/compreffor: drop 0.5.1

Closes: https://bugs.gentoo.org/816165
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/compreffor/Manifest|  1 -
 dev-python/compreffor/compreffor-0.5.1.ebuild | 35 ---
 2 files changed, 36 deletions(-)

diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest
index 11b3c1337..fe4babae3 100644
--- a/dev-python/compreffor/Manifest
+++ b/dev-python/compreffor/Manifest
@@ -1,2 +1 @@
 DIST compreffor-0.5.1.post1.tar.gz 75132 BLAKE2B 
ed37118c45d616029dad90451240ff7d5eb131ecd080c713ccc8241d3288a869f5e2950524b0faf58e895c8f1e76e0da8df24cc0526a1ce342d509de856fc0e2
 SHA512 
eaab7e01b158f68c28c946f39af80bd8313b9338301aee8a4119de243442791d68cf7edc0e8ac86efc0cadf6115de89f38ec445cf5ce13055aed44dcfaeb3eed
-DIST compreffor-0.5.1.zip 78104 BLAKE2B 
515bb6079ac8ba1498568dcb68c1f1da046e2877997c4ca9ae30be99db7e7e331b874e2d11b4ecf78ee0be00e5f3778096dad3067743f002254ea52861e94522
 SHA512 
86008c487ea84ba713a784035dc260bba045c2bd9791e3fdbbd30f300ec5a9796b8f9c54dd39f19a6cb4143e7e1c3c59f7b31f1e5455e707815ec9cc363c6761

diff --git a/dev-python/compreffor/compreffor-0.5.1.ebuild 
b/dev-python/compreffor/compreffor-0.5.1.ebuild
deleted file mode 100644
index 376588d05..0
--- a/dev-python/compreffor/compreffor-0.5.1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{8,9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
-KEYWORDS="~amd64"
-DESCRIPTION="A CFF table subroutinizer for FontTools"
-HOMEPAGE="https://github.com/googlefonts/compreffor";
-LICENSE="Apache-2.0"
-SLOT="0"
-
-RDEPEND="
-   >=dev-python/fonttools-4.2.0[${PYTHON_USEDEP}]
-"
-DEPEND="
-   ${RDEPEND}
-"
-BDEPEND="
-   app-arch/unzip
-   dev-python/cython[${PYTHON_USEDEP}]
-"
-PATCHES=( "${FILESDIR}/remove-pytest-runner.patch" )
-
-distutils_enable_tests pytest
-
-python_test() {
-   distutils_install_for_testing
-   default
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/, dev-python/compreffor/files/

2022-03-11 Thread Alessandro Barbieri
commit: 18acb5391f42f7afecc02030fe33e9ff21c3a523
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Mar 12 01:06:33 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Mar 12 01:06:33 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=18acb539

dev-python/compreffor: add 0.5.1_p1

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/compreffor/Manifest |  1 +
 dev-python/compreffor/compreffor-0.5.1_p1.ebuild   | 41 ++
 ...for-0.5.1_p1-remove-unwanted-dependencies.patch | 11 ++
 3 files changed, 53 insertions(+)

diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest
index 1fe65fb46..11b3c1337 100644
--- a/dev-python/compreffor/Manifest
+++ b/dev-python/compreffor/Manifest
@@ -1 +1,2 @@
+DIST compreffor-0.5.1.post1.tar.gz 75132 BLAKE2B 
ed37118c45d616029dad90451240ff7d5eb131ecd080c713ccc8241d3288a869f5e2950524b0faf58e895c8f1e76e0da8df24cc0526a1ce342d509de856fc0e2
 SHA512 
eaab7e01b158f68c28c946f39af80bd8313b9338301aee8a4119de243442791d68cf7edc0e8ac86efc0cadf6115de89f38ec445cf5ce13055aed44dcfaeb3eed
 DIST compreffor-0.5.1.zip 78104 BLAKE2B 
515bb6079ac8ba1498568dcb68c1f1da046e2877997c4ca9ae30be99db7e7e331b874e2d11b4ecf78ee0be00e5f3778096dad3067743f002254ea52861e94522
 SHA512 
86008c487ea84ba713a784035dc260bba045c2bd9791e3fdbbd30f300ec5a9796b8f9c54dd39f19a6cb4143e7e1c3c59f7b31f1e5455e707815ec9cc363c6761

diff --git a/dev-python/compreffor/compreffor-0.5.1_p1.ebuild 
b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild
new file mode 100644
index 0..bac2d4796
--- /dev/null
+++ b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+MYPV="${PV/_p/.post}"
+MYP="${PN}-${MYPV}"
+PYTHON_COMPAT=( python3_{8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="A CFF table subroutinizer for FontTools"
+HOMEPAGE="
+   https://github.com/googlefonts/compreffor
+   https://pypi.org/project/compreffor/
+"
+SRC_URI="mirror://pypi/${MYP:0:1}/${PN}/${MYP}.tar.gz"
+S="${WORKDIR}/${MYP}"
+KEYWORDS="~amd64"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+   >=dev-python/fonttools-4[${PYTHON_USEDEP}]
+"
+DEPEND="
+   ${RDEPEND}
+   >=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+BDEPEND="app-arch/unzip"
+
+PATCHES=( "${FILESDIR}/${P}-remove-unwanted-dependencies.patch" )
+
+distutils_enable_tests pytest
+
+python_test() {
+   distutils_install_for_testing
+   default
+}

diff --git 
a/dev-python/compreffor/files/compreffor-0.5.1_p1-remove-unwanted-dependencies.patch
 
b/dev-python/compreffor/files/compreffor-0.5.1_p1-remove-unwanted-dependencies.patch
new file mode 100644
index 0..a7ed61b45
--- /dev/null
+++ 
b/dev-python/compreffor/files/compreffor-0.5.1_p1-remove-unwanted-dependencies.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
 b/setup.py
+@@ -152,7 +152,7 @@
+ 'build_ext': custom_build_ext,
+ },
+ setup_requires=(
+-["setuptools_scm", "setuptools_git_ls_files"] + pytest_runner + wheel
++["setuptools_scm"] + wheel
+ ),
+ tests_require=[
+ 'pytest>=2.8',



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2021-06-14 Thread Alessandro Barbieri
commit: 2543c50b1e1c58267bf5719fbaafea7a7b2797ea
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Jun 14 22:50:45 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Jun 14 23:09:43 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2543c50b

dev-python/compreffor: drop 0.5.0

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/compreffor/Manifest|  1 -
 dev-python/compreffor/compreffor-0.5.0.ebuild | 40 ---
 2 files changed, 41 deletions(-)

diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest
index 26cabe638..1fe65fb46 100644
--- a/dev-python/compreffor/Manifest
+++ b/dev-python/compreffor/Manifest
@@ -1,2 +1 @@
-DIST compreffor-0.5.0.zip 86507 BLAKE2B 
3d019106018b4eaf5dd72e666881a3a94edd4fc48853d520c713e84d4009716b4f3bf9621a4be76c92753408780969271fd7924b6452b9049546ffb919cacb80
 SHA512 
cf42cfff8b98d2e6b76f688dda5d3d6bc7cc30fffcc512e9fae6eeacfce61fd4e2d448950e396f49e8ed5ccf1b50523168404b28b111985969e191e9fea063b9
 DIST compreffor-0.5.1.zip 78104 BLAKE2B 
515bb6079ac8ba1498568dcb68c1f1da046e2877997c4ca9ae30be99db7e7e331b874e2d11b4ecf78ee0be00e5f3778096dad3067743f002254ea52861e94522
 SHA512 
86008c487ea84ba713a784035dc260bba045c2bd9791e3fdbbd30f300ec5a9796b8f9c54dd39f19a6cb4143e7e1c3c59f7b31f1e5455e707815ec9cc363c6761

diff --git a/dev-python/compreffor/compreffor-0.5.0.ebuild 
b/dev-python/compreffor/compreffor-0.5.0.ebuild
deleted file mode 100644
index e6cd0da7e..0
--- a/dev-python/compreffor/compreffor-0.5.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{7,8} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
-KEYWORDS="~amd64"
-DESCRIPTION="A CFF table subroutinizer for FontTools"
-HOMEPAGE="https://github.com/googlefonts/compreffor";
-LICENSE="Apache-2.0"
-SLOT="0"
-
-RDEPEND="
-   >=dev-python/fonttools-4.2.0[${PYTHON_USEDEP}]
-"
-DEPEND="
-   ${RDEPEND}
-"
-BDEPEND="
-   app-arch/unzip
-   dev-python/cython[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   #undesired dependency
-   sed -i "s|setup_requires=pytest_runner + wheel,|setup_requires=wheel,|" 
setup.py
-   default
-}
-
-python_test() {
-   distutils_install_for_testing
-   default
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2021-05-05 Thread Alessandro Barbieri
commit: f82f7a848d96f05eff087b343f924e82377932de
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed May  5 07:26:34 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Wed May  5 07:32:52 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f82f7a84

dev-python/compreffor: comaintainers welcome

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/compreffor/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/compreffor/metadata.xml 
b/dev-python/compreffor/metadata.xml
index bd2770ed2..f56df1a5a 100644
--- a/dev-python/compreffor/metadata.xml
+++ b/dev-python/compreffor/metadata.xml
@@ -2,6 +2,7 @@
 http://www.gentoo.org/dtd/metadata.dtd";>
 
   
+co-maintainers welcome
 lssndrbarbi...@gmail.com 
 Alessandro Barbieri
   



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/, dev-python/compreffor/files/

2021-03-27 Thread Alessandro Barbieri
commit: b310ce46eb28a39d304141ee5a88002fe83816da
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Mar 27 17:42:51 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Mar 27 17:42:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b310ce46

dev-python/compreffor: patch instead of sed

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/compreffor/compreffor-0.5.1.ebuild  | 14 ++
 dev-python/compreffor/files/remove-pytest-runner.patch | 11 +++
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/dev-python/compreffor/compreffor-0.5.1.ebuild 
b/dev-python/compreffor/compreffor-0.5.1.ebuild
index f4f87b9e2..f19a4ade2 100644
--- a/dev-python/compreffor/compreffor-0.5.1.ebuild
+++ b/dev-python/compreffor/compreffor-0.5.1.ebuild
@@ -25,16 +25,6 @@ BDEPEND="
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
 "
+PATCHES=( "${FILESDIR}/remove-pytest-runner.patch" )
 
-distutils_enable_tests pytest
-
-src_prepare() {
-   #undesired dependency
-   sed -i "s|setup_requires=pytest_runner + wheel,|setup_requires=wheel,|" 
setup.py
-   default
-}
-
-python_test() {
-   distutils_install_for_testing
-   default
-}
+distutils_enable_tests --install pytest

diff --git a/dev-python/compreffor/files/remove-pytest-runner.patch 
b/dev-python/compreffor/files/remove-pytest-runner.patch
new file mode 100644
index 0..f3734f3cc
--- /dev/null
+++ b/dev-python/compreffor/files/remove-pytest-runner.patch
@@ -0,0 +1,11 @@
+--- a/setup.py 2021-03-27 18:38:41.032816105 +0100
 b/setup.py 2021-03-27 18:38:57.087088810 +0100
+@@ -150,7 +150,7 @@
+ cmdclass={
+ 'build_ext': custom_build_ext,
+ },
+-setup_requires=pytest_runner + wheel,
++setup_requires=wheel,
+ tests_require=[
+ 'pytest>=2.8',
+ ],



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2021-03-27 Thread Alessandro Barbieri
commit: a59d007a542c417747fb59fae9760bbac305ee7a
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Mar 27 18:26:00 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Mar 27 18:26:00 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a59d007a

dev-python/compreffor: switch back to the old testing method

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/compreffor/compreffor-0.5.1.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/compreffor/compreffor-0.5.1.ebuild 
b/dev-python/compreffor/compreffor-0.5.1.ebuild
index f19a4ade2..bafb7a8c2 100644
--- a/dev-python/compreffor/compreffor-0.5.1.ebuild
+++ b/dev-python/compreffor/compreffor-0.5.1.ebuild
@@ -27,4 +27,9 @@ BDEPEND="
 "
 PATCHES=( "${FILESDIR}/remove-pytest-runner.patch" )
 
-distutils_enable_tests --install pytest
+distutils_enable_tests pytest
+
+python_test() {
+   distutils_install_for_testing
+   default
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2021-03-22 Thread Alessandro Barbieri
commit: 42316f1b1de1b1b59dc76112030683b2b841da04
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Mar 22 23:13:56 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Tue Mar 23 00:03:11 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42316f1b

dev-python/compreffor: bump

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/compreffor/Manifest|  1 +
 dev-python/compreffor/compreffor-0.5.1.ebuild | 40 +++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest
index 3acc1a0e..26cabe63 100644
--- a/dev-python/compreffor/Manifest
+++ b/dev-python/compreffor/Manifest
@@ -1 +1,2 @@
 DIST compreffor-0.5.0.zip 86507 BLAKE2B 
3d019106018b4eaf5dd72e666881a3a94edd4fc48853d520c713e84d4009716b4f3bf9621a4be76c92753408780969271fd7924b6452b9049546ffb919cacb80
 SHA512 
cf42cfff8b98d2e6b76f688dda5d3d6bc7cc30fffcc512e9fae6eeacfce61fd4e2d448950e396f49e8ed5ccf1b50523168404b28b111985969e191e9fea063b9
+DIST compreffor-0.5.1.zip 78104 BLAKE2B 
515bb6079ac8ba1498568dcb68c1f1da046e2877997c4ca9ae30be99db7e7e331b874e2d11b4ecf78ee0be00e5f3778096dad3067743f002254ea52861e94522
 SHA512 
86008c487ea84ba713a784035dc260bba045c2bd9791e3fdbbd30f300ec5a9796b8f9c54dd39f19a6cb4143e7e1c3c59f7b31f1e5455e707815ec9cc363c6761

diff --git a/dev-python/compreffor/compreffor-0.5.1.ebuild 
b/dev-python/compreffor/compreffor-0.5.1.ebuild
new file mode 100644
index ..f4f87b9e
--- /dev/null
+++ b/dev-python/compreffor/compreffor-0.5.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
+KEYWORDS="~amd64"
+DESCRIPTION="A CFF table subroutinizer for FontTools"
+HOMEPAGE="https://github.com/googlefonts/compreffor";
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+   >=dev-python/fonttools-4.2.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   app-arch/unzip
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   #undesired dependency
+   sed -i "s|setup_requires=pytest_runner + wheel,|setup_requires=wheel,|" 
setup.py
+   default
+}
+
+python_test() {
+   distutils_install_for_testing
+   default
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/

2020-12-11 Thread Alessandro Barbieri
commit: 72554ba458022fdb820f8efbc936115a5001c1d7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed Dec  9 23:11:26 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Dec 11 15:20:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=72554ba4

dev-python/compreffor: new package

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/compreffor/Manifest|  1 +
 dev-python/compreffor/compreffor-0.5.0.ebuild | 40 +++
 dev-python/compreffor/metadata.xml| 12 
 3 files changed, 53 insertions(+)

diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest
new file mode 100644
index ..3acc1a0e
--- /dev/null
+++ b/dev-python/compreffor/Manifest
@@ -0,0 +1 @@
+DIST compreffor-0.5.0.zip 86507 BLAKE2B 
3d019106018b4eaf5dd72e666881a3a94edd4fc48853d520c713e84d4009716b4f3bf9621a4be76c92753408780969271fd7924b6452b9049546ffb919cacb80
 SHA512 
cf42cfff8b98d2e6b76f688dda5d3d6bc7cc30fffcc512e9fae6eeacfce61fd4e2d448950e396f49e8ed5ccf1b50523168404b28b111985969e191e9fea063b9

diff --git a/dev-python/compreffor/compreffor-0.5.0.ebuild 
b/dev-python/compreffor/compreffor-0.5.0.ebuild
new file mode 100644
index ..e6cd0da7
--- /dev/null
+++ b/dev-python/compreffor/compreffor-0.5.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
+KEYWORDS="~amd64"
+DESCRIPTION="A CFF table subroutinizer for FontTools"
+HOMEPAGE="https://github.com/googlefonts/compreffor";
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+   >=dev-python/fonttools-4.2.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   app-arch/unzip
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   #undesired dependency
+   sed -i "s|setup_requires=pytest_runner + wheel,|setup_requires=wheel,|" 
setup.py
+   default
+}
+
+python_test() {
+   distutils_install_for_testing
+   default
+}

diff --git a/dev-python/compreffor/metadata.xml 
b/dev-python/compreffor/metadata.xml
new file mode 100644
index ..bd2770ed
--- /dev/null
+++ b/dev-python/compreffor/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+lssndrbarbi...@gmail.com 
+Alessandro Barbieri
+  
+  
+googlefonts/compreffor
+compreffor
+  
+