public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/
Date: Sun,  5 Jun 2022 10:19:53 +0000 (UTC)	[thread overview]
Message-ID: <1654418013.e35bf4281b07e1e7b152bedb8e41fb7b3ccf6098.cybertailor@gentoo> (raw)

commit:     e35bf4281b07e1e7b152bedb8e41fb7b3ccf6098
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Jun  5 08:33:33 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Jun  5 08:33:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e35bf428

dev-python/compreffor: fix tests

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

 dev-python/compreffor/compreffor-0.5.1_p1.ebuild | 24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/dev-python/compreffor/compreffor-0.5.1_p1.ebuild b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild
index f6fb09197..da496b718 100644
--- a/dev-python/compreffor/compreffor-0.5.1_p1.ebuild
+++ b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild
@@ -4,29 +4,26 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-MYPV="${PV/_p/.post}"
-MYP="${PN}-${MYPV}"
 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/${MYP:0:1}/${PN}/${MYP}.tar.gz"
-S="${WORKDIR}/${MYP}"
+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}]
-"
+RDEPEND=">=dev-python/fonttools-4[${PYTHON_USEDEP}]"
+DEPEND=">=dev-python/cython-0.29.24[${PYTHON_USEDEP}]"
 BDEPEND="
 	app-arch/unzip
-	>=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
 	dev-python/setuptools_scm[${PYTHON_USEDEP}]
 "
 
@@ -34,12 +31,7 @@ PATCHES=( "${FILESDIR}/${P}-remove-unwanted-dependencies.patch" )
 
 distutils_enable_tests pytest
 
-python_compile() {
-	distutils-r1_python_compile
-	esetup.py build_ext --inplace
-}
-
 python_test() {
-	cd "${S}/src/python" || die
-	PYTHONPATH=".:${PYTHONPATH}" epytest compreffor/test
+	cd "${T}" || die
+	epytest --pyargs compreffor
 }


             reply	other threads:[~2022-06-05 10:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-05 10:19 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-04  2:02 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/ Anna Vyalkova
2023-05-04  1:15 Anna Vyalkova
2023-02-25  0:00 Anna Vyalkova
2022-07-07  0:41 Anna Vyalkova
2022-06-28  8:49 Alessandro Barbieri
2022-06-28  4:34 Alessandro Barbieri
2022-06-01  5:03 Anna Vyalkova
2022-03-18 10:01 Alessandro Barbieri
2022-03-18  4:04 Anna Vyalkova
2021-06-14 23:09 Alessandro Barbieri
2021-05-05  7:32 Alessandro Barbieri
2021-03-27 18:35 Alessandro Barbieri
2021-03-23  0:03 Alessandro Barbieri
2020-12-11 15:40 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1654418013.e35bf4281b07e1e7b152bedb8e41fb7b3ccf6098.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox