1 |
commit: b1be1af1e1aafb671d97fa4fca4c10e73b5d534a |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 4 17:04:43 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 4 17:13:45 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1be1af1 |
7 |
|
8 |
dev-python/webencodings: version bump to 0.5.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-python/webencodings/Manifest | 1 + |
13 |
dev-python/webencodings/webencodings-0.5.1.ebuild | 36 +++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/webencodings/Manifest b/dev-python/webencodings/Manifest |
17 |
index 1065ef55e6b..b42a2bb99fb 100644 |
18 |
--- a/dev-python/webencodings/Manifest |
19 |
+++ b/dev-python/webencodings/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST webencodings-0.5.1.tar.gz 9721 SHA256 b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923 SHA512 b727b01bac6ec79bca517960d27b4c0668b295f25559471b9641c2c33dab55db6dac9c990952177964c6418382c22831b14d57df5e632d51d7abf97b61f24326 WHIRLPOOL 54d53eec2bc19d2fe1aae8f3cc7fc17d70026a200cca3b3b90f1f4c48ac183d22113f4070a8d2feb5c6f6f2693ab161cc3750f3b448c91f3ef243ee4fb03ead4 |
22 |
DIST webencodings-0.5.tar.gz 9479 SHA256 a5c55ee93b24e740fe951c37b5c228dccc1f171450e188555a775261cce1b904 SHA512 3f0c1995d23a8ccf8f0b02301edec5834336c27b7daf2335ded888073a1f13058acd93477cd020bb2b12d51b393d9b3166acf4995564cb9751ace8df35a891c2 WHIRLPOOL 72865b86c152e6a43ab1c64e127055629dbfc8419e46b3647c94ff75e55cad3b446bd0951979fa2b39daa847e1cf9e64b4a54ea11bc494b85c4a6b747857cdb1 |
23 |
|
24 |
diff --git a/dev-python/webencodings/webencodings-0.5.1.ebuild b/dev-python/webencodings/webencodings-0.5.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..0cf7fc314c0 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/webencodings/webencodings-0.5.1.ebuild |
29 |
@@ -0,0 +1,36 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Character encoding aliases for legacy web content" |
40 |
+HOMEPAGE="https://github.com/SimonSapin/python-webencodings http://pypi.python.org/pypi/webencodings" |
41 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+RDEPEND="" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+ test? ( |
52 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
53 |
+ )" |
54 |
+ |
55 |
+python_prepare_all(){ |
56 |
+ cat >> setup.cfg <<- EOF |
57 |
+ [pytest] |
58 |
+ python_files=test*.py |
59 |
+ EOF |
60 |
+ distutils-r1_python_prepare_all |
61 |
+} |
62 |
+ |
63 |
+python_test() { |
64 |
+ py.test -v -v || die |
65 |
+} |