1 |
commit: 05d2ea32ee1fd071ef5f93cbfef593f829dac08a |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 00:33:08 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 01:56:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d2ea32 |
7 |
|
8 |
dev-python/tagpy: update EAPI 7 -> 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/845891 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-python/tagpy/tagpy-2018.1-r3.ebuild | 50 +++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tagpy/tagpy-2018.1-r3.ebuild b/dev-python/tagpy/tagpy-2018.1-r3.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..fdcb87a4585e |
19 |
--- /dev/null |
20 |
+++ b/dev-python/tagpy/tagpy-2018.1-r3.ebuild |
21 |
@@ -0,0 +1,50 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
29 |
+inherit edo distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Python Bindings for TagLib" |
32 |
+HOMEPAGE=" |
33 |
+ https://mathema.tician.de//software/tagpy |
34 |
+ https://pypi.org/project/tagpy/" |
35 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="BSD" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
40 |
+IUSE="examples" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ >=dev-libs/boost-1.70:=[python,threads(+),${PYTHON_USEDEP}] |
44 |
+ >=media-libs/taglib-1.8" |
45 |
+DEPEND="${RDEPEND}" |
46 |
+ |
47 |
+PATCHES=( "${FILESDIR}"/${P}-taglib-1.8.patch ) |
48 |
+ |
49 |
+distutils_enable_tests pytest |
50 |
+ |
51 |
+python_prepare_all() { |
52 |
+ cp "${FILESDIR}"/${P}-readme.rst README.rst || die |
53 |
+ distutils-r1_python_prepare_all |
54 |
+} |
55 |
+ |
56 |
+python_configure() { |
57 |
+ local boostpy_ver="${EPYTHON#python}" |
58 |
+ |
59 |
+ edo "${EPYTHON}" configure.py \ |
60 |
+ --taglib-inc-dir="${ESYSROOT}"/usr/include/taglib \ |
61 |
+ --boost-python-libname="boost_python${boostpy_ver/\.}" |
62 |
+} |
63 |
+ |
64 |
+python_install_all() { |
65 |
+ if use examples; then |
66 |
+ docinto examples |
67 |
+ dodoc -r test/. |
68 |
+ fi |
69 |
+ |
70 |
+ distutils-r1_python_install_all |
71 |
+} |