dev-python/regex: bump, add IUSE doc, rm old
authorIan Delaney <idella4@gentoo.org>
Mon, 17 Aug 2015 08:30:36 +0000 (16:30 +0800)
committerIan Delaney <idella4@gentoo.org>
Mon, 17 Aug 2015 08:31:23 +0000 (16:31 +0800)
Package-Manager: portage-2.2.20

dev-python/regex/Manifest
dev-python/regex/regex-2015.07.19.ebuild [moved from dev-python/regex/regex-2015.06.24.ebuild with 81% similarity]

index 6bf60d6aa3ab2f227ee292850b8160fc5aa1a021..b374ecb8a063b9634e58b88a70780adef6caab4f 100644 (file)
@@ -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
similarity index 81%
rename from dev-python/regex/regex-2015.06.24.ebuild
rename to dev-python/regex/regex-2015.07.19.ebuild
index fd300192e5a64518c734e02b02893712d4e0a6af..a01ea47b2d5438f9e3f4a1710933a09cbf4ca452 100644 (file)
@@ -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
+}