1 |
commit: 595d14eaf504aef961cc6a7831b37306c408831c |
2 |
Author: Nils Freydank <holgersson <AT> posteo <DOT> de> |
3 |
AuthorDate: Sat Oct 27 17:54:00 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 30 09:07:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595d14ea |
7 |
|
8 |
dev-python/pytidylib: Bump to 0.3.2 and add python3_7 support |
9 |
|
10 |
Signed-off-by: Nils Freydank <holgersson <AT> posteo.de> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
dev-python/pytidylib/Manifest | 1 + |
15 |
dev-python/pytidylib/pytidylib-0.3.2.ebuild | 26 ++++++++++++++++++++++++++ |
16 |
2 files changed, 27 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/pytidylib/Manifest b/dev-python/pytidylib/Manifest |
19 |
index 7646139e22c..97c21b78a80 100644 |
20 |
--- a/dev-python/pytidylib/Manifest |
21 |
+++ b/dev-python/pytidylib/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST pytidylib-0.2.4.tar.gz 86650 BLAKE2B 15212651c83ebbec5b74418f37bfcd0366e9b6cdfc0820953e34ec3142871248df02618a51415a36b84ac8c2e5a12d996ff7301b5bf3a001fb42297df3a98202 SHA512 443e9af0fd458d4f041e3b72415839838a4edc83f8a978e5cc0bdf53202584e269f1ad5df10967d8ae4b98b24dcffcf9f5a54e0e3f6cd620a8a6a20171da0811 |
24 |
+DIST pytidylib-0.3.2.tar.gz 87669 BLAKE2B 57eee794e3a6ba147b778360a12d2417c21579250620854267a83300d918cac0320c768faacb531517b66eed7fd7afc1679e76f2db626f7d7daa80af1667a06d SHA512 24f755ed2607e300711f5a1aee510df3a0a410cc7d8d8f46e065ec8d93c50e436a492cc2831e9d416ab9837497c603f9dc8705da543102813d3264e6de033ca7 |
25 |
|
26 |
diff --git a/dev-python/pytidylib/pytidylib-0.3.2.ebuild b/dev-python/pytidylib/pytidylib-0.3.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1edb2743c4b |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pytidylib/pytidylib-0.3.2.ebuild |
31 |
@@ -0,0 +1,26 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Python wrapper for HTML Tidy (tidylib)" |
42 |
+HOMEPAGE="http://countergram.com/open-source/pytidylib https://github.com/countergram/pytidylib" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+SLOT="0" |
46 |
+LICENSE="MIT" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RDEPEND="app-text/htmltidy |
51 |
+ dev-python/setuptools" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
54 |
+ |
55 |
+python_test() { |
56 |
+ pytest -vv || die |
57 |
+} |