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
}