commit:     3cc896162cb87b97a9e046fd8d6b56c0ac10b308
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  9 16:33:49 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  9 17:28:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc89616

dev-python/stapler: enable py3.10, EAPI=8, enable tests

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 ..._p20200531-r1.ebuild => stapler-1.0.0_p20200531-r2.ebuild} | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-python/stapler/stapler-1.0.0_p20200531-r1.ebuild 
b/dev-python/stapler/stapler-1.0.0_p20200531-r2.ebuild
similarity index 80%
rename from dev-python/stapler/stapler-1.0.0_p20200531-r1.ebuild
rename to dev-python/stapler/stapler-1.0.0_p20200531-r2.ebuild
index d71209069ac..2ded93bb400 100644
--- a/dev-python/stapler/stapler-1.0.0_p20200531-r1.ebuild
+++ b/dev-python/stapler/stapler-1.0.0_p20200531-r2.ebuild
@@ -1,18 +1,19 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_USE_SETUPTOOLS=pyproject.toml
 
-inherit distutils-r1 vcs-snapshot
+inherit distutils-r1
 
 COMMIT="1cabc85521e2badfc1e0d690086e286e701c2d9e"
 
 DESCRIPTION="Suite of tools for PDF files manipulation written in Python"
 HOMEPAGE="https://github.com/hellerbarde/stapler";
 SRC_URI="https://github.com/hellerbarde/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="BSD"
 SLOT="0"
@@ -22,6 +23,4 @@ RDEPEND="
        dev-python/PyPDF2[${PYTHON_USEDEP}]
 "
 
-DEPEND="
-       ${RDEPEND}
-"
+distutils_enable_tests unittest

Reply via email to