summaryrefslogtreecommitdiff
path: root/dev-python/pyicu
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyicu
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyicu')
-rw-r--r--dev-python/pyicu/Manifest6
-rw-r--r--dev-python/pyicu/metadata.xml12
-rw-r--r--dev-python/pyicu/pyicu-1.9.5.ebuild58
-rw-r--r--dev-python/pyicu/pyicu-1.9.7.ebuild33
4 files changed, 109 insertions, 0 deletions
diff --git a/dev-python/pyicu/Manifest b/dev-python/pyicu/Manifest
new file mode 100644
index 000000000000..4d1da5fd726e
--- /dev/null
+++ b/dev-python/pyicu/Manifest
@@ -0,0 +1,6 @@
+DIST PyICU-1.9.5.tar.gz 181878 SHA256 73b052b800861fae3281dbaf9c92d12a81cabf3d31912d94c51862e093ef359b SHA512 19fb3222a68cc67e92ea4171257d00c9a322f993f1303a4432b5c3c4efda32ff4c2372027cf9f3fd31d3dc3cf3bcbcb957dfa420039591044812f0213684e885 WHIRLPOOL 05e931826f445cc989d8d5ad1db10121705e685d53e8696e0befe172ee8e32895482813bcbcac105e3c8ac92ef85d8b96f79c67de35ed6547a7ccc64acee3413
+DIST PyICU-1.9.7.tar.gz 183235 SHA256 db27cd1cc150b879c5465872bec7fdaf340eca140aa922be03891d5b9f855b61 SHA512 ac4b9fa6e73eac9e223d4d3758a80611e4e4d78812b88b6ffb20f4b26012dc794cc242a0307cf16597677a552987dbfec3d047cf836f039721bbebab468c76f2 WHIRLPOOL cc4be8d52ad20ae47370ee590af814263f75f5766eb8686f4f17fee4e427aa581727885bc4bc20b37577aedacbf87cf4cb902393ba7c968b91bf733aee3d6c9c
+EBUILD pyicu-1.9.5.ebuild 1253 SHA256 9be895b7b19e1a02f72a3e7f3b07b1c1bb691fe8bba4f3e6cae26dd575076b30 SHA512 105b89e547c99052fd4caa9cdeba88edb451fa0de4e49f2fa1cf91b938396383b12a7ebed42d05ae01e1e34506afe13dc8e183189d5bbc3afcd72a8d5580869d WHIRLPOOL 1e3fe487304fbe5d26afa8666cc5ff171f72066f4f88f34eefb7c07f4d97caa6f731d66cf289e764ea5df4b54cf2e08aadc6cbe4cc5b4675c52d655ed0c92bbc
+EBUILD pyicu-1.9.7.ebuild 669 SHA256 6b2547d95e2d744a6dd6e5601784f714aaec66f4b499900a9bcd6d5217d6b9d8 SHA512 6bf242216967d27bcb6fc4b54f1cf63b68dfeede3c398225a84db064159e7a6c0f769bacec4f6a87e1c61f57a9d842e262a06f374ec1b2beb9b2372169d8eee8 WHIRLPOOL 5b078243aead10596e8cb1cee14078fd540649371bb533d20637f034feb3a9f1a5fa464aac6080eed4e30dd4318f2e54c934456b06194d200f54a8d6da26887f
+MISC ChangeLog 2161 SHA256 b4f65082538621cbd79a9ffcb2e6f1e759f5d6165030e5a93bb7b4a594b3280e SHA512 8f1e125f50c6aadf679005eda6b02757bf5606c591440db6d4a3edd42b6ded902f3be5f8c23266611cf8b78442974aafeb01424388b905df1b78fba1d8bf66cd WHIRLPOOL 32d8af3e973bf002f546d29e609b60f02a36a8e24d4256fed39cff53c673486b60b0f5de2ca2cfe3c4d53387c064a76ca640c058ef6d9f11ee4f6c5d2ef6f19a
+MISC metadata.xml 358 SHA256 5082d5f8de90eaf93d3b3ff21d50d00c4b21e2b733589212d7db3b3bb42eeae9 SHA512 b2e487bd32ab89cf1d5f0aa5ff10b394560b2415fe5b5c433c78a551324a17bb25603115020216706e775a9eedcabab431255032486d7b8c1a5f1296a2ff8835 WHIRLPOOL 3aa0bba56f6383b8da810ce81a1f98d6420ca7fa7ebcc2850b51649e839af8e7a93bb4111c88a9ff0ddefdaf6811305b0b30dd7a19e99fa2ce6df1f57e0c61c9
diff --git a/dev-python/pyicu/metadata.xml b/dev-python/pyicu/metadata.xml
new file mode 100644
index 000000000000..ce15e15687da
--- /dev/null
+++ b/dev-python/pyicu/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+</maintainer>
+<upstream>
+ <remote-id type="github">ovalhub/pyicu</remote-id>
+ <remote-id type="pypi">PyICU</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/dev-python/pyicu/pyicu-1.9.5.ebuild b/dev-python/pyicu/pyicu-1.9.5.ebuild
new file mode 100644
index 000000000000..a6ccb72671c8
--- /dev/null
+++ b/dev-python/pyicu/pyicu-1.9.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+DISTUTILS_IN_SOURCE_BUILD=1 # setup.py applies 2to3 to tests
+
+inherit distutils-r1
+
+MY_PN="PyICU"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python bindings for dev-libs/icu"
+HOMEPAGE="https://github.com/ovalhub/pyicu"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/icu
+"
+# epydoc supports only python2*
+DEPEND="${RDEPEND}
+ doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )"
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=(CHANGES CREDITS README.md)
+
+# we need an exact version match for epydoc to work on a binary module
+pkg_setup() {
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
+python_compile_all() {
+ if use doc; then
+ mkdir -p doc/html || die
+ epydoc --html --verbose -o doc/html \
+ --url="${HOMEPAGE}" --name="${MY_P}" \
+ icu.py || die "Making the docs failed!"
+ fi
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ if use doc; then
+ local HTML_DOCS=( doc/html/. )
+ fi
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/pyicu/pyicu-1.9.7.ebuild b/dev-python/pyicu/pyicu-1.9.7.ebuild
new file mode 100644
index 000000000000..887fb5aa2957
--- /dev/null
+++ b/dev-python/pyicu/pyicu-1.9.7.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+DISTUTILS_IN_SOURCE_BUILD=1 # setup.py applies 2to3 to tests
+
+inherit distutils-r1
+
+MY_PN="PyICU"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python bindings for dev-libs/icu"
+HOMEPAGE="https://github.com/ovalhub/pyicu"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/icu"
+DEPEND="${RDEPEND}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=(CHANGES CREDITS README.md)
+
+python_test() {
+ esetup.py test
+}