Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stapler/
Date: Thu, 09 Sep 2021 17:29:39
Message-Id: 1631208535.3cc896162cb87b97a9e046fd8d6b56c0ac10b308.arthurzam@gentoo
1 commit: 3cc896162cb87b97a9e046fd8d6b56c0ac10b308
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 9 16:33:49 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 9 17:28:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc89616
7
8 dev-python/stapler: enable py3.10, EAPI=8, enable tests
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 ..._p20200531-r1.ebuild => stapler-1.0.0_p20200531-r2.ebuild} | 11 +++++------
13 1 file changed, 5 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/stapler/stapler-1.0.0_p20200531-r1.ebuild b/dev-python/stapler/stapler-1.0.0_p20200531-r2.ebuild
16 similarity index 80%
17 rename from dev-python/stapler/stapler-1.0.0_p20200531-r1.ebuild
18 rename to dev-python/stapler/stapler-1.0.0_p20200531-r2.ebuild
19 index d71209069ac..2ded93bb400 100644
20 --- a/dev-python/stapler/stapler-1.0.0_p20200531-r1.ebuild
21 +++ b/dev-python/stapler/stapler-1.0.0_p20200531-r2.ebuild
22 @@ -1,18 +1,19 @@
23 # Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=7
27 +EAPI=8
28
29 -PYTHON_COMPAT=( python3_{7,8,9} )
30 +PYTHON_COMPAT=( python3_{8..10} )
31 DISTUTILS_USE_SETUPTOOLS=pyproject.toml
32
33 -inherit distutils-r1 vcs-snapshot
34 +inherit distutils-r1
35
36 COMMIT="1cabc85521e2badfc1e0d690086e286e701c2d9e"
37
38 DESCRIPTION="Suite of tools for PDF files manipulation written in Python"
39 HOMEPAGE="https://github.com/hellerbarde/stapler"
40 SRC_URI="https://github.com/hellerbarde/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
41 +S="${WORKDIR}/${PN}-${COMMIT}"
42
43 LICENSE="BSD"
44 SLOT="0"
45 @@ -22,6 +23,4 @@ RDEPEND="
46 dev-python/PyPDF2[${PYTHON_USEDEP}]
47 "
48
49 -DEPEND="
50 - ${RDEPEND}
51 -"
52 +distutils_enable_tests unittest