summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-08-17 16:30:36 +0800
committerIan Delaney <idella4@gentoo.org>2015-08-17 16:31:23 +0800
commit2248b321c4cd8c6e43b2866c396d3b19843857ee (patch)
treeac9bc8cff7ee4d805e15d8b8a71dc8445d306d1b /dev-python/regex
parentprofiles: Extend USE=luajittext mask to dev-texlive/texlive-basic (diff)
downloadgentoo-2248b321c4cd8c6e43b2866c396d3b19843857ee.tar.gz
gentoo-2248b321c4cd8c6e43b2866c396d3b19843857ee.tar.bz2
gentoo-2248b321c4cd8c6e43b2866c396d3b19843857ee.zip
dev-python/regex: bump, add IUSE doc, rm old
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-python/regex')
-rw-r--r--dev-python/regex/Manifest2
-rw-r--r--dev-python/regex/regex-2015.07.19.ebuild (renamed from dev-python/regex/regex-2015.06.24.ebuild)11
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest
index 6bf60d6aa3ab..b374ecb8a063 100644
--- a/dev-python/regex/Manifest
+++ b/dev-python/regex/Manifest
@@ -1,2 +1,2 @@
-DIST regex-2015.06.24.tar.gz 553785 SHA256 97dbcbe9a1c247ba351b926b0683b5fec82260e7ea649ab51087bb58ad00275a SHA512 570320e5c74793246da77f8b85b623604698d187780121d30a3d5a53f410bc998c48481bfef6245c546a6e6950020a2905f3b5fd3be33964de92af73c4acc1a7 WHIRLPOOL 37704652ebdc5f09c13960acbc7a4c890b1a0bdceab9d6e4b9053a3bb99ec1b54462667cf17960ccccf091bd64d49d19cc079e187b5af1e40d8b1d155053f202
DIST regex-2015.07.12.tar.gz 554160 SHA256 9a39618645ce8c707c2c1346a3eeef0e441a9084df0739a5fcfe32059f68ebe1 SHA512 3b8cfa029744d17f06c659e6357d3a4520817656da6dcfc6952bbdac01fec266e8832fab649000fc7a3dacab508e2ae462728c139cc4cac913c40e2ae34abf54 WHIRLPOOL 86f004c6d8533071ef938ba39cfe34f198dcc56ab75883f8b5f2bc2dfaa40abc46b0ed64aa873821c6cc4e694c424dd8a16d97c35a6a1fafa7d2f84e09c59adf
+DIST regex-2015.07.19.tar.gz 554541 SHA256 c1dc58206f458749040ba813ef65067d7018908cab4bb16f4f12d9c7631e48b7 SHA512 94845ae133e25bdc2bb6ee6093f38f7a9281a64cdf4e53817c80183a28d7d0e2173f16f048f29ba38b2b277fc974c46a2f7d3b2fe1a346bc5d35c5fa45cdac17 WHIRLPOOL 4b38bd745c43fa2832d93e20fb4066911c6a224a2d1b4c3afaf8f03dcdf6d8d39896b25843671e0ee6916257b428455f24bbd493222e1b7bfa67c0b2ab838d32
diff --git a/dev-python/regex/regex-2015.06.24.ebuild b/dev-python/regex/regex-2015.07.19.ebuild
index fd300192e5a6..a01ea47b2d54 100644
--- a/dev-python/regex/regex-2015.06.24.ebuild
+++ b/dev-python/regex/regex-2015.07.19.ebuild
@@ -14,9 +14,9 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
+IUSE="doc"
-DOCS=( README docs/Features.rst docs/UnicodeProperties.txt )
+DOCS=( README docs/UnicodeProperties.txt )
python_compile() {
if ! python_is_python3; then
@@ -37,3 +37,10 @@ python_test() {
"${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
+}