commit:     f1a7bdb4f50a6e8bae0e4dbe156b7490c421438e
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jun  1 03:03:39 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jun  1 05:02:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1a7bdb4

dev-python/cffsubr: enable py3.10

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild 
b/dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild
index 3eadd83e9..53f6f0a27 100644
--- a/dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild
+++ b/dev-python/cffsubr/cffsubr-0.2.9_p1.ebuild
@@ -4,15 +4,14 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-MYPV="${PV/_p/.post}"
-PYTHON_COMPAT=( python3_{8..9} )
-
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
+MY_PV="${PV/_p/.post}"
 DESCRIPTION="Standalone CFF subroutinizer based on AFDKO tx tool"
 HOMEPAGE="https://github.com/adobe-type-tools/cffsubr";
-SRC_URI="https://github.com/adobe-type-tools/cffsubr/archive/refs/tags/v${MYPV}.tar.gz
 -> ${P}.gh.tar.gz"
-S="${WORKDIR}/${PN}-${MYPV}"
+SRC_URI="https://github.com/adobe-type-tools/${PN}/archive/refs/tags/v${MY_PV}.tar.gz
 -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
 
 KEYWORDS="~amd64"
 LICENSE="Apache-2.0"
@@ -22,8 +21,7 @@ RDEPEND="
        >=dev-python/fonttools-4.10.2[${PYTHON_USEDEP}]
        >=dev-util/afdko-3.6.1[${PYTHON_USEDEP}]
 "
-DEPEND="
-       ${RDEPEND}
+BDEPEND="
        dev-python/setuptools_scm[${PYTHON_USEDEP}]
 "
 
@@ -39,7 +37,8 @@ pkg_setup() {
 }
 
 src_prepare() {
-       #no bundled afdko
-       rm -rf external || die
        default
+
+       # remove bundled afdko
+       rm -rf external || die
 }

Reply via email to