You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-vcs/pwclient/pwclient-20141110122616.ebuild

43 lines
987 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_4} )
inherit eutils python-r1
# The PV comes from:
# git clone ${EGIT_REPO_URI}
# cd patchwork
# EGIT_COMMIT=$(git log -n1 --format=%H apps/patchwork/bin/pwclient)
# date --date="$(git log -n1 --format=%ci ${EGIT_COMMIT})" -u +%Y%m%d%H%M%S
EGIT_REPO_URI="git://ozlabs.org/home/jk/git/patchwork"
EGIT_COMMIT="8904a7dcaf959da8db4a9a5d92b91a61eed05201"
DESCRIPTION="command line utility for interacting with patchwork repos"
HOMEPAGE="http://jk.ozlabs.org/projects/patchwork/"
SRC_URI="mirror://gentoo/${P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
RDEPEND="${PYTHON_DEPS}"
S=${WORKDIR}
src_unpack() {
cp "${DISTDIR}"/${P} ${PN} || die
}
src_prepare() {
epatch "${FILESDIR}"/${P}-*.patch
}
src_install() {
python_setup
python_doscript ${PN}
}