1 |
commit: dd40e012e16f581052aca2580300caeb1b1fb644 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 6 10:45:35 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 6 10:53:25 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd40e012 |
7 |
|
8 |
dev-python/schema: Add the schema library to the tree. |
9 |
|
10 |
schema is a library for validating Python data structures, such as those |
11 |
obtained from config-files, forms, external services or command-line parsing, |
12 |
converted from JSON/YAML (or something else) to Python data-types. |
13 |
|
14 |
Package-Manager: portage-2.2.28 |
15 |
|
16 |
dev-python/schema/Manifest | 1 + |
17 |
dev-python/schema/metadata.xml | 8 ++++++++ |
18 |
dev-python/schema/schema-0.5.0.ebuild | 24 ++++++++++++++++++++++++ |
19 |
3 files changed, 33 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/schema/Manifest b/dev-python/schema/Manifest |
22 |
new file mode 100644 |
23 |
index 0000000..dd42dd6 |
24 |
--- /dev/null |
25 |
+++ b/dev-python/schema/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST schema-0.5.0.tar.gz 8765 SHA256 fa982e925cfe56ce036b5776aff6179621cae5994b9066d17a33143fd5ddf883 SHA512 8eab5f8dc8e544d14c19b9355ffe5f542dd06003133bcd3fc642f95cf1da8286a0146fae666ba656450d4b564da6f0933b9d64ae54e88202b4c5c5150ffbc033 WHIRLPOOL eb73ab0b399bb123a109721f14f2283c5e7b1ed08d55ba7cc04ccece4b745979515cd5d1913e3f099738fdb64e83f5202ebbfacaed523cd0828245de62fac771 |
28 |
|
29 |
diff --git a/dev-python/schema/metadata.xml b/dev-python/schema/metadata.xml |
30 |
new file mode 100644 |
31 |
index 0000000..e24dd86 |
32 |
--- /dev/null |
33 |
+++ b/dev-python/schema/metadata.xml |
34 |
@@ -0,0 +1,8 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <maintainer type="project"> |
39 |
+ <email>python@g.o</email> |
40 |
+ <name>Python</name> |
41 |
+ </maintainer> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/dev-python/schema/schema-0.5.0.ebuild b/dev-python/schema/schema-0.5.0.ebuild |
45 |
new file mode 100644 |
46 |
index 0000000..80c1118 |
47 |
--- /dev/null |
48 |
+++ b/dev-python/schema/schema-0.5.0.ebuild |
49 |
@@ -0,0 +1,24 @@ |
50 |
+# Copyright 1999-2016 Gentoo Foundation |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+# $Id$ |
53 |
+ |
54 |
+EAPI=6 |
55 |
+ |
56 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
57 |
+ |
58 |
+inherit distutils-r1 |
59 |
+ |
60 |
+DESCRIPTION="Library for validating Python data structures" |
61 |
+HOMEPAGE="https://pypi.python.org/pypi/schema https://github.com/keleshev/schema" |
62 |
+SRC_URI=" |
63 |
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
64 |
+ https://github.com/keleshev/schema/archive/v${PV}.zip -> ${P}.tar.gz" |
65 |
+ |
66 |
+SLOT="0" |
67 |
+LICENSE="MIT" |
68 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
69 |
+IUSE="" |
70 |
+ |
71 |
+RDEPEND="" |
72 |
+DEPEND="${RDEPEND} |
73 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |