1 |
commit: eb8763891423f6126d735fa6eb57f2b31881f403 |
2 |
Author: William Pettersson <william <AT> ewpettersson <DOT> se> |
3 |
AuthorDate: Tue Jun 2 10:16:23 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 28 10:40:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb876389 |
7 |
|
8 |
dev-python/pybtex: New package |
9 |
|
10 |
BibTeX-compatible bibliography processor |
11 |
|
12 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
13 |
RepoMan-Options: --force |
14 |
Signed-off-by: William Pettersson <william <AT> ewpettersson.se> |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
dev-python/pybtex/Manifest | 1 + |
18 |
.../pybtex-0.22.2-fix-test-installation.patch | 11 ++++++++ |
19 |
dev-python/pybtex/metadata.xml | 16 +++++++++++ |
20 |
dev-python/pybtex/pybtex-0.22.2.ebuild | 31 ++++++++++++++++++++++ |
21 |
4 files changed, 59 insertions(+) |
22 |
|
23 |
diff --git a/dev-python/pybtex/Manifest b/dev-python/pybtex/Manifest |
24 |
new file mode 100644 |
25 |
index 00000000000..86356b0acb5 |
26 |
--- /dev/null |
27 |
+++ b/dev-python/pybtex/Manifest |
28 |
@@ -0,0 +1 @@ |
29 |
+DIST pybtex-0.22.2.tar.gz 363094 BLAKE2B 6e59543a1178f2d3528c8b65b63afd720864fb8f31172e3fa76a36bee3d5dd9f32aa6226fa0a599af0a4705d3c37060417f6e902ec7b900efcc8a6f8487c31e1 SHA512 afabae8c47008651fa9c4c6546bf87f4a2c74d3184f1d0c1b4c2bd68ad8110ea37054026b5934312b86d97354a592bae5c0b6d384003b4e56f0157f6520b77a1 |
30 |
|
31 |
diff --git a/dev-python/pybtex/files/pybtex-0.22.2-fix-test-installation.patch b/dev-python/pybtex/files/pybtex-0.22.2-fix-test-installation.patch |
32 |
new file mode 100644 |
33 |
index 00000000000..a5420314fd7 |
34 |
--- /dev/null |
35 |
+++ b/dev-python/pybtex/files/pybtex-0.22.2-fix-test-installation.patch |
36 |
@@ -0,0 +1,11 @@ |
37 |
+--- a/setup.py 2020-06-02 10:46:54.592360043 +0100 |
38 |
++++ b/setup.py 2020-06-02 10:47:00.482302281 +0100 |
39 |
+@@ -82,7 +82,7 @@ |
40 |
+ ], |
41 |
+ install_requires=install_requires, |
42 |
+ python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*', |
43 |
+- packages=find_packages(exclude=['docs']), |
44 |
++ packages=find_packages(exclude=['docs', 'tests*']), |
45 |
+ include_package_data=True, |
46 |
+ cmdclass={'sdist': Sdist}, |
47 |
+ entry_points={ |
48 |
|
49 |
diff --git a/dev-python/pybtex/metadata.xml b/dev-python/pybtex/metadata.xml |
50 |
new file mode 100644 |
51 |
index 00000000000..cf290da2e8b |
52 |
--- /dev/null |
53 |
+++ b/dev-python/pybtex/metadata.xml |
54 |
@@ -0,0 +1,16 @@ |
55 |
+<?xml version="1.0" encoding="UTF-8"?> |
56 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
57 |
+<pkgmetadata> |
58 |
+ <maintainer type="person"> |
59 |
+ <email>william@××××××××××××.se</email> |
60 |
+ <name>William Pettersson</name> |
61 |
+ </maintainer> |
62 |
+ <maintainer type="project"> |
63 |
+ <email>proxy-maint@g.o</email> |
64 |
+ <name>Proxy maintainers</name> |
65 |
+ </maintainer> |
66 |
+ <upstream> |
67 |
+ <remote-id type="pypi">pybtex</remote-id> |
68 |
+ <remote-id type="bitbucket">pybtex-devs/pybtex</remote-id> |
69 |
+ </upstream> |
70 |
+</pkgmetadata> |
71 |
|
72 |
diff --git a/dev-python/pybtex/pybtex-0.22.2.ebuild b/dev-python/pybtex/pybtex-0.22.2.ebuild |
73 |
new file mode 100644 |
74 |
index 00000000000..b5b454d8561 |
75 |
--- /dev/null |
76 |
+++ b/dev-python/pybtex/pybtex-0.22.2.ebuild |
77 |
@@ -0,0 +1,31 @@ |
78 |
+# Copyright 1999-2020 Gentoo Authors |
79 |
+# Distributed under the terms of the GNU General Public License v2 |
80 |
+ |
81 |
+EAPI=7 |
82 |
+ |
83 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
84 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
85 |
+ |
86 |
+inherit distutils-r1 |
87 |
+ |
88 |
+DESCRIPTION="BibTeX-compatible bibliography processor" |
89 |
+HOMEPAGE="https://pybtex.org https://pypi.org/project/pybtex/" |
90 |
+SRC_URI="https://files.pythonhosted.org/packages/source/p/${PN}/${P}.tar.gz" |
91 |
+PATCHES=( "${FILESDIR}/${P}-fix-test-installation.patch" ) |
92 |
+IUSE="test" |
93 |
+RESTRICT="!test? ( test )" |
94 |
+ |
95 |
+LICENSE="MIT" |
96 |
+SLOT="0" |
97 |
+KEYWORDS="~amd64 ~x86" |
98 |
+ |
99 |
+RDEPEND="dev-python/latexcodec[${PYTHON_USEDEP}] |
100 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
101 |
+ dev-python/six[${PYTHON_USEDEP}]" |
102 |
+ |
103 |
+BDEPEND="test? ( |
104 |
+ ${RDEPEND} |
105 |
+ dev-python/nose[${PYTHON_USEDEP}] |
106 |
+ )" |
107 |
+ |
108 |
+distutils_enable_tests pytest |