1 |
commit: 39dc3e2d3a694e5ca23c5b79b3150e53a764d8a0 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Tue Nov 26 23:55:49 2019 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 01:13:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39dc3e2d |
7 |
|
8 |
dev-python/soupsieve: New package |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/soupsieve/Manifest | 1 + |
15 |
dev-python/soupsieve/metadata.xml | 12 +++++++++++ |
16 |
dev-python/soupsieve/soupsieve-1.9.5.ebuild | 33 +++++++++++++++++++++++++++++ |
17 |
3 files changed, 46 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/soupsieve/Manifest b/dev-python/soupsieve/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..9facd4bb0ed |
22 |
--- /dev/null |
23 |
+++ b/dev-python/soupsieve/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST soupsieve-1.9.5.tar.gz 99119 BLAKE2B adf2f068ca536583557dff5b86fbb8020de8139c346ab124c8f78d91d2c0db49553cc9b8580a4e8af0fb74e19a8f8b6e5459b654a900034d76a677e60ea0fece SHA512 38cf37c7080ec6054291a076eb4b152bbf5267b9fed25f933a340345cd7807f14f4a5300707090fd233382e96841f6a33305876cf02740c96dd6aa9d2af06868 |
26 |
|
27 |
diff --git a/dev-python/soupsieve/metadata.xml b/dev-python/soupsieve/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000000..de74db44b00 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/soupsieve/metadata.xml |
32 |
@@ -0,0 +1,12 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="project"> |
37 |
+ <email>python@g.o</email> |
38 |
+ <name>Python</name> |
39 |
+ </maintainer> |
40 |
+ <upstream> |
41 |
+ <remote-id type="pypi">soupsieve</remote-id> |
42 |
+ <remote-id type="github">facelessuser/soupsieve</remote-id> |
43 |
+ </upstream> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/dev-python/soupsieve/soupsieve-1.9.5.ebuild b/dev-python/soupsieve/soupsieve-1.9.5.ebuild |
47 |
new file mode 100644 |
48 |
index 00000000000..71975a1c656 |
49 |
--- /dev/null |
50 |
+++ b/dev-python/soupsieve/soupsieve-1.9.5.ebuild |
51 |
@@ -0,0 +1,33 @@ |
52 |
+# Copyright 1999-2019 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=7 |
56 |
+ |
57 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} ) |
58 |
+ |
59 |
+inherit distutils-r1 |
60 |
+ |
61 |
+DESCRIPTION="A modern CSS selector implementation for BeautifulSoup" |
62 |
+HOMEPAGE="https://github.com/facelessuser/soupsieve |
63 |
+ https://pypi.python.org/pypi/soupsieve" |
64 |
+SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
65 |
+ |
66 |
+LICENSE="MIT" |
67 |
+SLOT="0" |
68 |
+KEYWORDS="~amd64 ~x86" |
69 |
+IUSE="test" |
70 |
+ |
71 |
+RDEPEND=" |
72 |
+ $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' -2) |
73 |
+" |
74 |
+BDEPEND="${RDEPEND} |
75 |
+ test? ( |
76 |
+ dev-python/beautifulsoup[${PYTHON_USEDEP}] |
77 |
+ $(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]' python2_7 'python3*') |
78 |
+ dev-python/html5lib[${PYTHON_USEDEP}] |
79 |
+ ) |
80 |
+" |
81 |
+ |
82 |
+RESTRICT+=" !test? ( test )" |
83 |
+ |
84 |
+distutils_enable_tests pytest |