gentoo/dev-python/pydecomp/pydecomp-0.2.ebuild
Brian Dolbec b429f4e748
dev-python/pydecomp: Version bump, clean old release
Update git eclass inherit

Package-Manager: Portage-2.3.16, Repoman-2.3.6
2017-12-02 09:32:12 -08:00

37 lines
973 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1 python-r1
if [[ ${PV} == "9999" ]] ; then
EGIT_BRANCH="master"
EGIT_REPO_URI="https://github.com/dol-sen/pyDeComp.git"
inherit git-r3
else
SRC_URI="https://dev.gentoo.org/~dolsen/releases/${PN}/pyDeComp-${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
S="${WORKDIR}/pyDeComp-${PV}"
fi
DESCRIPTION="A python library of common (de)compression and contents handling"
HOMEPAGE="https://github.com/dol-sen/pyDeComp"
LICENSE="BSD"
SLOT="0"
IUSE=""
python_install_all() {
distutils-r1_python_install_all
}
pkg_postinst() {
einfo
einfo "Please file any enhancement requests, or bugs"
einfo "at https://github.com/dol-sen/pyDeComp/issues"
einfo "I am also on IRC @ #gentoo-releng of the freenode network"
}