summaryrefslogtreecommitdiff
path: root/dev-python/regex
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/regex
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/regex')
-rw-r--r--dev-python/regex/Manifest7
-rw-r--r--dev-python/regex/metadata.xml12
-rw-r--r--dev-python/regex/regex-2016.01.10.ebuild46
-rw-r--r--dev-python/regex/regex-2017.04.05.ebuild46
4 files changed, 111 insertions, 0 deletions
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest
new file mode 100644
index 000000000000..7545acdab59f
--- /dev/null
+++ b/dev-python/regex/Manifest
@@ -0,0 +1,7 @@
+DIST regex-2016.01.10.tar.gz 574017 SHA256 02a77606e3f4a0a16a2727ed8f067681635a56221e8fca863ff64b196d5d79e0 SHA512 4f4700ca746763f857449003d32d56b5aa8069e3b71b160e719633b0cf00f80efc0766d8e1e193977278f91bd3e73c87aab31bee23aec77557ac9b3652ff6a2f WHIRLPOOL 9d493c0695b5920dfa71d94636d9f2952cbd5db97f60ae68c30fdf81fdbdab05c4726a41dae036541de694ec1ca688acdb20eaa48e514865da26c9a9569e30a0
+DIST regex-2017.04.05.tar.gz 601638 SHA256 d811874ed669165fe1059a54f860db5c6ab5f48100bf4945d915fd2f877b2531 SHA512 4c3e440e11f57e2323892e10fbed7f2c89b35771fdc970164ba69bb154dde535f6edb51a0997c924eb776c61e5efd1d04001abd343110518a89b5b7bf148ae49 WHIRLPOOL 52f9f16312efb2f9a7c3d8995590fc240e4a4c8326db04eea4d45cfcf49e255d273ed78013f1736d35366e97adbdc8388816d24c955935a1ca941a09680f4435
+EBUILD regex-2016.01.10.ebuild 1154 SHA256 aba7b0cfb993fb3c5582817d4799700a2b54bde52b339e1b6b66f5c730c561e9 SHA512 aebd29d84c8a237ef3d544ef777be950232aedcb9b9a6c48482eb03cb4c991e56dc911f75c1da1849cc42239eea06f2e968573aaf03f405f60a50daea11e0d39 WHIRLPOOL 384058fd0544eb16c242c5d31dfa6cc002213079ef312e81b4e3da88130ab4145cc9b9f91f2d5c05bd1acb51e12d621a0f09c0ca0b546937922567b3bc7a47ff
+EBUILD regex-2017.04.05.ebuild 1196 SHA256 5a1ba3727784e08f14846f61e45cd1030b67d09b850e1e4e69d6eefc162426f5 SHA512 2c06f8ad155fcd571b534bb69720fc9648a0f6b0851f8f11134b321e7ce2e572677f0b7efd560a6729c8c3e0ec75a442769e1ab8536f367766d3600c6af01ad2 WHIRLPOOL e0c75fc0248f56304857d0766932317684fdff5b58b0c5be80a601d5f3b1cc7ae5f6dc37ed3cd40a83efbaad6f4e28c91880958bf9b179a16823243a636d5537
+MISC ChangeLog 3394 SHA256 543b47b13f49b5a62d2cb1e4b9975ac877172d140435d7633fe7dde66e21b26a SHA512 4ab3d0018076bfbb10f362e3f9fac88538d0d7498d6958d3d0e471d59b3b85c310f251d85b2cb44d29132624eddd9fc311969bc46dbe689e6f0e0093fc53112a WHIRLPOOL e9c3c98f5478a43b4a92ac71df6614bf0099cad6bd4708ee3ec9f6341f2c37f42ef4caa6cc01398c9f80d4914b3f02f947d82f19d0f695dc1da08f7fbf9cd1b1
+MISC ChangeLog-2015 875 SHA256 6eaadaaaa905d55526a8ef169a192234b1fb207464e51d24ec9b1f28dda11d45 SHA512 cb2cd43587d47a4dc9eef9883fb32284dc21f01010d00acf58b5fe0822c8a9696e9e0ee16990dd634eb87e8341473d3428e9d1913fcabe7f060761d6d7c0c219 WHIRLPOOL 6ad28fd0ed96bdd5c2e2e9b7e83c09b60ecc5576090c89fde244538203bcaaaa963d4acd095afbe2b758e61ed10b26dfcafb3a13971b54ab61218ef7ad6b3f73
+MISC metadata.xml 384 SHA256 fedbfc6d42984e31794e3dbbed4fca94f2b324304e4e2126ce1a0a16353b11f3 SHA512 3db0a8abe7036cd9d0fd8b1450598436dbb30581806380ad51c3d0f49d129325aba1bad9700d14adffc7cfd199c4ec3377e6eb0225244bfc82368bbb50548e07 WHIRLPOOL b6c0fc493c3d23eeb2d14b22bf7154b48efbca10ab244fd97be50bd94a3d3b189f9d52daaa9b122f715c3786c3ada47a933fd7d7e01bf95771d66357a06ba88a
diff --git a/dev-python/regex/metadata.xml b/dev-python/regex/metadata.xml
new file mode 100644
index 000000000000..91a476b448aa
--- /dev/null
+++ b/dev-python/regex/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="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">regex</remote-id>
+ <remote-id type="bitbucket">mrabarnett/mrab-regex</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/regex/regex-2016.01.10.ebuild b/dev-python/regex/regex-2016.01.10.ebuild
new file mode 100644
index 000000000000..e682641366e1
--- /dev/null
+++ b/dev-python/regex/regex-2016.01.10.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Alternative regular expression module to replace re"
+HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE="doc"
+
+DOCS=( README docs/UnicodeProperties.txt )
+
+python_compile() {
+ if ! python_is_python3; then
+ local CFLAGS=${CFLAGS}
+ append-cflags -fno-strict-aliasing
+ fi
+ distutils-r1_python_compile
+}
+
+python_test() {
+ local msg="tests failed under ${EPYTHON}"
+ # https://bitbucket.org/mrabarnett/mrab-regex/issue/145/1-fail-in-testsuite-under-pypy
+ einfo "There is one trivial fail of test test_empty_array under pypy"
+
+ if python_is_python3; then
+ "${PYTHON}" Python3/test_regex.py || die $msg
+ else
+ "${PYTHON}" Python2/test_regex.py || die $msg
+ fi
+}
+
+python_install_all() {
+ local DOCS="${DOCS} docs/UnicodeProperties.txt"
+ use doc && local HTML_DOCS=( docs/Features.html )
+
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/regex/regex-2017.04.05.ebuild b/dev-python/regex/regex-2017.04.05.ebuild
new file mode 100644
index 000000000000..d3a7cebda51d
--- /dev/null
+++ b/dev-python/regex/regex-2017.04.05.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Alternative regular expression module to replace re"
+HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+DOCS=( README docs/UnicodeProperties.txt )
+
+python_compile() {
+ if ! python_is_python3; then
+ local CFLAGS=${CFLAGS}
+ append-cflags -fno-strict-aliasing
+ fi
+ distutils-r1_python_compile
+}
+
+python_test() {
+ local msg="tests failed under ${EPYTHON}"
+ # https://bitbucket.org/mrabarnett/mrab-regex/issue/145/1-fail-in-testsuite-under-pypy
+ einfo "There is one trivial fail of test test_empty_array under pypy"
+
+ if python_is_python3; then
+ "${PYTHON}" Python3/test_regex.py || die $msg
+ else
+ "${PYTHON}" Python2/test_regex.py || die $msg
+ fi
+}
+
+python_install_all() {
+ local DOCS="${DOCS} docs/UnicodeProperties.txt"
+ use doc && local HTML_DOCS=( docs/Features.html )
+
+ distutils-r1_python_install_all
+}