summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-10 02:43:09 -0500
committerMike Frysinger <vapier@gentoo.org>2015-11-10 02:44:35 -0500
commit559dd893e3fc72176cf0a045236827b5ab7ed4fa (patch)
tree87b275e947bdbe0fe49dae4521f61cc470547487 /dev-python/pydecomp/pydecomp-9999.ebuild
parentdev-util/cccc: rev-bump to r1, new patch for c++ failure (diff)
downloadgentoo-559dd893e3fc72176cf0a045236827b5ab7ed4fa.tar.gz
gentoo-559dd893e3fc72176cf0a045236827b5ab7ed4fa.tar.bz2
gentoo-559dd893e3fc72176cf0a045236827b5ab7ed4fa.zip
dev-python/pydecomp: polish ebuild a bit in prep for release
Diffstat (limited to 'dev-python/pydecomp/pydecomp-9999.ebuild')
-rw-r--r--dev-python/pydecomp/pydecomp-9999.ebuild22
1 files changed, 10 insertions, 12 deletions
diff --git a/dev-python/pydecomp/pydecomp-9999.ebuild b/dev-python/pydecomp/pydecomp-9999.ebuild
index bce39353b202..a2395e87b04c 100644
--- a/dev-python/pydecomp/pydecomp-9999.ebuild
+++ b/dev-python/pydecomp/pydecomp-9999.ebuild
@@ -4,28 +4,26 @@
EAPI="5"
-PYTHON_COMPAT=(python{2_7,3_3,3_4})
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-EGIT_BRANCH="master"
+inherit distutils-r1 python-r1
-inherit distutils-r1 python-r1 git-2
-
-EGIT_REPO_URI="git://github.com/dol-sen/pyDeComp.git"
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_BRANCH="master"
+ EGIT_REPO_URI="git://github.com/dol-sen/pyDeComp.git"
+ inherit git-2
+else
+ SRC_URI="https://github.com/dol-sen/pyDeComp/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+fi
DESCRIPTION="A python interface library for common compression, decompression and contents handling"
HOMEPAGE="https://github.com/dol-sen/pyDeComp"
-SRC_URI=""
LICENSE="BSD"
SLOT="0"
IUSE=""
-KEYWORDS=""
-
-DEPEND=""
-RDEPEND="${DEPEND}
- "
-
python_install_all() {
distutils-r1_python_install_all
}