blob: ec94bc9dbd528f18d5d01ed5661523404eca64f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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}
}
|