1 |
commit: eb3ddb110e1f5d297adaa68caf0313d4837b7f6c |
2 |
Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 31 23:00:34 2018 +0000 |
4 |
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 1 21:01:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb3ddb11 |
7 |
|
8 |
dev-python/precis-i18n: Add package, needed for net-im/gajim bump |
9 |
|
10 |
Thanks to Alex <maniac <AT> pzskc383.dp.ua> for initial version of the |
11 |
ebuild. |
12 |
|
13 |
Gentoo-Bug: 651616 |
14 |
|
15 |
dev-python/precis-i18n/Manifest | 1 + |
16 |
dev-python/precis-i18n/metadata.xml | 21 +++++++++++++++++++ |
17 |
dev-python/precis-i18n/precis-i18n-1.0.0.ebuild | 28 +++++++++++++++++++++++++ |
18 |
3 files changed, 50 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/precis-i18n/Manifest b/dev-python/precis-i18n/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..ba8ebfe0e03 |
23 |
--- /dev/null |
24 |
+++ b/dev-python/precis-i18n/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST precis_i18n-1.0.0.tar.gz 61251 BLAKE2B 3f49f77ae4e6eea6ac1429a8de9b4ebe217d4d901edc223ee487d8a11bb45dc9e21a1e9fef9bd4478273ae721b5c02e4e2a7d2a3f28da281fcbdc17a12a1094e SHA512 9017852fdd2a066b8e31521bd39843f3b1f87259ce87e1567cfaa2b932b52b745ad84eb89b77a4c3ea0a04e513573655266b2cc73997e951268646da7a000e5d |
27 |
|
28 |
diff --git a/dev-python/precis-i18n/metadata.xml b/dev-python/precis-i18n/metadata.xml |
29 |
new file mode 100644 |
30 |
index 00000000000..252b16c4bd6 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/precis-i18n/metadata.xml |
33 |
@@ -0,0 +1,21 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+ <maintainer type="person"> |
38 |
+ <email>aidecoe@g.o</email> |
39 |
+ </maintainer> |
40 |
+ <longdescription lang="en"> |
41 |
+ PRECIS-i18n: Internationalized Usernames and Passwords |
42 |
+ |
43 |
+ This module implements the PRECIS Framework as described in: |
44 |
+ |
45 |
+ PRECIS Framework: Preparation, Enforcement, and Comparison of Internationalized Strings in Application Protocols (RFC 8264) |
46 |
+ Preparation, Enforcement, and Comparison of Internationalized Strings Representing Usernames and Passwords (RFC 8265) |
47 |
+ Preparation, Enforcement, and Comparison of Internationalized Strings Representing Nicknames (RFC 8266) |
48 |
+ </longdescription> |
49 |
+ <upstream> |
50 |
+ <bugs-to>https://github.com/byllyfish/precis_i18n/issues</bugs-to> |
51 |
+ <remote-id type="github">byllyfish/precis_i18n</remote-id> |
52 |
+ <remote-id type="pypi">precis-i18n</remote-id> |
53 |
+ </upstream> |
54 |
+</pkgmetadata> |
55 |
|
56 |
diff --git a/dev-python/precis-i18n/precis-i18n-1.0.0.ebuild b/dev-python/precis-i18n/precis-i18n-1.0.0.ebuild |
57 |
new file mode 100644 |
58 |
index 00000000000..64ef7198e16 |
59 |
--- /dev/null |
60 |
+++ b/dev-python/precis-i18n/precis-i18n-1.0.0.ebuild |
61 |
@@ -0,0 +1,28 @@ |
62 |
+# Copyright 1999-2018 Gentoo Foundation |
63 |
+# Distributed under the terms of the GNU General Public License v2 |
64 |
+ |
65 |
+EAPI=6 |
66 |
+ |
67 |
+PYTHON_COMPAT=( python3_{4,5,6} ) |
68 |
+ |
69 |
+inherit distutils-r1 |
70 |
+ |
71 |
+MY_PN="${PN/-/_}" |
72 |
+MY_P="${MY_PN}-${PV}" |
73 |
+ |
74 |
+DESCRIPTION="Internationalized Usernames and Passwords" |
75 |
+HOMEPAGE="https://pypi.python.org/pypi/precis-i18n" |
76 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${P/-/_}.tar.gz" |
77 |
+ |
78 |
+LICENSE="MIT" |
79 |
+SLOT="0" |
80 |
+KEYWORDS="~amd64 ~x86" |
81 |
+IUSE="" |
82 |
+ |
83 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
84 |
+ |
85 |
+S="${WORKDIR}/${MY_P}" |
86 |
+ |
87 |
+python_test() { |
88 |
+ esetup.py test |
89 |
+} |