1 |
commit: 812d344ef114d9011d44757a2909ea5f6c00b130 |
2 |
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
3 |
AuthorDate: Mon Jul 24 07:15:43 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 30 09:33:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812d344e |
7 |
|
8 |
dev-python/entrypoints: Version bump to 0.2.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/5193 |
12 |
|
13 |
dev-python/entrypoints/Manifest | 1 + |
14 |
dev-python/entrypoints/entrypoints-0.2.3.ebuild | 56 ++++++++++++++++++++++ |
15 |
.../files/entrypoints-0.2.3-setup.py.patch | 20 ++++++++ |
16 |
3 files changed, 77 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/entrypoints/Manifest b/dev-python/entrypoints/Manifest |
19 |
index 04d735e50c6..eeca0350b0c 100644 |
20 |
--- a/dev-python/entrypoints/Manifest |
21 |
+++ b/dev-python/entrypoints/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST entrypoints-0.2.1.tar.gz 11126 SHA256 0d6b6798446c2e5e5dd6691e79356c29e82234bdb67995233f57413a11f2ded4 SHA512 67a24fc53ae8bdac6bda163d2c8057b158979d55ccdbcdb8709966573bf0a999728e04eb92a05fbc2c0d532593de0ec6518bcfed1d5bcf875b00bbd5c48494c7 WHIRLPOOL f673fb42bad930bb1907692013df469d64b9afb77c3e0acca250fb0b14fe17ec3962cb60de2f0760ede40c8f039690851424b816e047669916ff1d73389daaf7 |
24 |
DIST entrypoints-0.2.2.tar.gz 11162 SHA256 e54b5df8bb971507278c65df96e6486cf4aea0cdac384d0102ea0339e0a4f82b SHA512 c987807924f92fd6bc0aab1cccaa4b204587d4f34932c353033ed062fff5adf69bfdc8767f095dda15fff9b57e2be2d205bfa44abc5ad7f7820114e0355a6e99 WHIRLPOOL 9d884c8977f8ea49f23f3c8a6b8ac3d48de6e6ff1133f53afe7072e180fd714019c9076b553deae5595d2383a02728412a8536ea26f4a1a56a8d552806054da9 |
25 |
+DIST entrypoints-0.2.3.tar.gz 11219 SHA256 a628825648fade6fba8dd94cc26e38340ed840fca3e9d5b7b3dbf755b27bbbdd SHA512 dbf8085652e50cbdbe137ae655ef765cff58bdaa6beefebf1383dcd96dfcbf9c92580c09e9a58de7893aebdd7b2a701ef8d13a56ef0fa9a3d9ef7a5bd1d9b11b WHIRLPOOL e7915ed78eb77923dfbce5ad8d71e869169ecc9117c2c98fafafb370957874bfb63d39064b41dc17af2d2d51ab426a6865ee65fe04a96a211bc96f6a0979769f |
26 |
|
27 |
diff --git a/dev-python/entrypoints/entrypoints-0.2.3.ebuild b/dev-python/entrypoints/entrypoints-0.2.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..2f1065d5e64 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/entrypoints/entrypoints-0.2.3.ebuild |
32 |
@@ -0,0 +1,56 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Discover and load entry points from installed packages" |
43 |
+HOMEPAGE="https://github.com/takluyver/entrypoints" |
44 |
+SRC_URI="https://github.com//takluyver/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
49 |
+IUSE="doc test" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ $(python_gen_cond_dep '>=dev-python/configparser-3.5.0[${PYTHON_USEDEP}]' 'python2*') |
53 |
+ test? ( |
54 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
55 |
+ virtual/python-pathlib[${PYTHON_USEDEP}] |
56 |
+ ) |
57 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
58 |
+ " |
59 |
+ |
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}/${P}"-setup.py.patch |
62 |
+ "${FILESDIR}/${PN}"-0.2.1-init.py.patch |
63 |
+) |
64 |
+ |
65 |
+python_prepare_all() { |
66 |
+ # Prevent un-needed download during build |
67 |
+ if use doc; then |
68 |
+ sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die |
69 |
+ fi |
70 |
+ |
71 |
+ distutils-r1_python_prepare_all |
72 |
+ |
73 |
+ mv "${WORKDIR}/${P}"/entrypoints.py "${WORKDIR}/${P}/${PN}/" || die |
74 |
+} |
75 |
+ |
76 |
+python_compile_all() { |
77 |
+ if use doc; then |
78 |
+ emake -C doc html |
79 |
+ HTML_DOCS=( doc/_build/html/. ) |
80 |
+ fi |
81 |
+} |
82 |
+ |
83 |
+python_test() { |
84 |
+ distutils_install_for_testing |
85 |
+ cd "${TEST_DIR}"/lib || die |
86 |
+ cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die |
87 |
+ py.test || die |
88 |
+} |
89 |
|
90 |
diff --git a/dev-python/entrypoints/files/entrypoints-0.2.3-setup.py.patch b/dev-python/entrypoints/files/entrypoints-0.2.3-setup.py.patch |
91 |
new file mode 100644 |
92 |
index 00000000000..7ed226b489d |
93 |
--- /dev/null |
94 |
+++ b/dev-python/entrypoints/files/entrypoints-0.2.3-setup.py.patch |
95 |
@@ -0,0 +1,20 @@ |
96 |
+setup.py for entrypoints by Marius Brehler <marbre@××××××××××××××.de>. |
97 |
+ |
98 |
+Patch by Marius Brehler <marbrbre@××××××××××××××.de>. |
99 |
+--- /dev/null |
100 |
++++ b/setup.py |
101 |
+@@ -0,0 +1,13 @@ |
102 |
++from distutils.core import setup |
103 |
++ |
104 |
++setup(name='entrypoints', |
105 |
++ version='0.2.3', |
106 |
++ description='Discover and load entry points from installed packages.', |
107 |
++ author='Thomas Kluyver', |
108 |
++ author_email='thomas@××××××××××.uk', |
109 |
++ url='https://github.com/takluyver/entrypoints', |
110 |
++ packages=['entrypoints'], |
111 |
++ classifiers=[ |
112 |
++ 'License :: OSI Approved :: MIT License' |
113 |
++ ] |
114 |
++) |
115 |
+\ No newline at end of file |