1 |
commit: 4c73b75236243198c91b0dc022e91f49d921cae6 |
2 |
Author: Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de> |
3 |
AuthorDate: Sun Apr 19 12:57:58 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 29 08:09:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c73b752 |
7 |
|
8 |
dev-python/python-slugify: add ebuild |
9 |
|
10 |
A Python Slugify application that handles Unicode. Required for |
11 |
app-i18n/transifex-client. |
12 |
|
13 |
Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de> |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
dev-python/python-slugify/Manifest | 1 + |
17 |
dev-python/python-slugify/metadata.xml | 16 +++++++++++++++ |
18 |
.../python-slugify/python-slugify-1.2.6.ebuild | 23 ++++++++++++++++++++++ |
19 |
3 files changed, 40 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/python-slugify/Manifest b/dev-python/python-slugify/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000000..07c93725a49 |
24 |
--- /dev/null |
25 |
+++ b/dev-python/python-slugify/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST python-slugify-1.2.6.tar.gz 8439 BLAKE2B 74699bf80408e1b6a705525b0ada2612cc6224a2ac1e17ce21230ed684af144c0f72ad99b32674bf19bd716d2cfc3a2f0da6f74facc99acba16e3ebc1873f3f3 SHA512 ad45958d03892d8db75967b150f25509c05ab2a87d5ac4a2ed12fccccfe1f86d7db26c406c6de22ba759b77fe772cc0c00d0e517c71db085618f62094ddadfd2 |
28 |
|
29 |
diff --git a/dev-python/python-slugify/metadata.xml b/dev-python/python-slugify/metadata.xml |
30 |
new file mode 100644 |
31 |
index 00000000000..8ba37583de7 |
32 |
--- /dev/null |
33 |
+++ b/dev-python/python-slugify/metadata.xml |
34 |
@@ -0,0 +1,16 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <maintainer type="person"> |
39 |
+ <email>gentoo.2019@××××.de</email> |
40 |
+ <name>Robert Siebeck</name> |
41 |
+ </maintainer> |
42 |
+ <maintainer type="project"> |
43 |
+ <email>proxy-maint@g.o</email> |
44 |
+ <name>Proxy Maintainers</name> |
45 |
+ </maintainer> |
46 |
+ <upstream> |
47 |
+ <remote-id type="pypi">python-slugify</remote-id> |
48 |
+ <remote-id type="github">un33k/python-slugify</remote-id> |
49 |
+ </upstream> |
50 |
+</pkgmetadata> |
51 |
|
52 |
diff --git a/dev-python/python-slugify/python-slugify-1.2.6.ebuild b/dev-python/python-slugify/python-slugify-1.2.6.ebuild |
53 |
new file mode 100644 |
54 |
index 00000000000..eed79aeecdd |
55 |
--- /dev/null |
56 |
+++ b/dev-python/python-slugify/python-slugify-1.2.6.ebuild |
57 |
@@ -0,0 +1,23 @@ |
58 |
+# Copyright 1999-2020 Gentoo Authors |
59 |
+# Distributed under the terms of the GNU General Public License v2 |
60 |
+ |
61 |
+EAPI=7 |
62 |
+ |
63 |
+PYTHON_COMPAT=( python3_{6,7} ) |
64 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
65 |
+ |
66 |
+inherit distutils-r1 |
67 |
+ |
68 |
+DESCRIPTION="A Python Slugify application that handles Unicode" |
69 |
+HOMEPAGE="https://github.com/un33k/python-slugify https://pypi.org/project/python-slugify/" |
70 |
+SRC_URI="https://github.com/un33k/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
71 |
+ |
72 |
+LICENSE="MIT" |
73 |
+SLOT="0" |
74 |
+KEYWORDS="~amd64 ~x86" |
75 |
+IUSE="" |
76 |
+ |
77 |
+RDEPEND="dev-python/unidecode[${PYTHON_USEDEP}]" |
78 |
+DEPEND="${RDEPEND}" |
79 |
+ |
80 |
+distutils_enable_tests unittest |