diff options
Diffstat (limited to 'dev-python/pydecomp/pydecomp-9999.ebuild')
-rw-r--r-- | dev-python/pydecomp/pydecomp-9999.ebuild | 22 |
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 } |