Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pkgcore: ChangeLog pkgcore-0.9.1.ebuild
Date: Sun, 28 Jun 2015 21:18:18
Message-Id: 20150628211810.EFB3A746@oystercatcher.gentoo.org
1 radhermit 15/06/28 21:18:10
2
3 Modified: ChangeLog
4 Added: pkgcore-0.9.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.188 sys-apps/pkgcore/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.188&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.188&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?r1=1.187&r2=1.188
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v
20 retrieving revision 1.187
21 retrieving revision 1.188
22 diff -u -r1.187 -r1.188
23 --- ChangeLog 4 Jun 2015 11:06:20 -0000 1.187
24 +++ ChangeLog 28 Jun 2015 21:18:10 -0000 1.188
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/pkgcore
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.187 2015/06/04 11:06:20 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.188 2015/06/28 21:18:10 radhermit Exp $
30 +
31 +*pkgcore-0.9.1 (28 Jun 2015)
32 +
33 + 28 Jun 2015; Tim Harder <radhermit@g.o> +pkgcore-0.9.1.ebuild:
34 + Version bump.
35
36 04 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml:
37 Add pypi to remote-id in metadata.xml
38
39
40
41 1.1 sys-apps/pkgcore/pkgcore-0.9.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/pkgcore-0.9.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/pkgcore-0.9.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pkgcore-0.9.1.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.9.1.ebuild,v 1.1 2015/06/28 21:18:10 radhermit Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python2_7 )
54 inherit distutils-r1
55
56 if [[ ${PV} == *9999 ]] ; then
57 EGIT_REPO_URI="https://github.com/pkgcore/pkgcore.git"
58 inherit git-r3
59 else
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
61 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
62 fi
63
64 DESCRIPTION="pkgcore package manager"
65 HOMEPAGE="https://github.com/pkgcore/pkgcore"
66
67 LICENSE="|| ( BSD GPL-2 )"
68 SLOT="0"
69 IUSE="doc test"
70
71 RDEPEND=">=dev-python/snakeoil-0.6.4[${PYTHON_USEDEP}]"
72 DEPEND="${RDEPEND}
73 dev-python/pyparsing[${PYTHON_USEDEP}]
74 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
75 test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )
76 "
77
78 pkg_setup() {
79 # disable snakeoil 2to3 caching...
80 unset PY2TO3_CACHEDIR
81
82 mydistutilsargs=(
83 build
84 --disable-html-docs
85 --disable-man-pages
86 )
87 }
88
89 python_compile_all() {
90 esetup.py $(use doc && echo 'build_docs')
91
92 if [[ ${PV} == *9999 ]]; then
93 esetup.py build_man
94 ln -s "${BUILD_DIR}/sphinx/man" man || die
95 fi
96
97 # symlinks generated manpages into source root
98 # dead symlinks are tolerated
99 ln -s "${BUILD_DIR}/sphinx/html" html || die
100 }
101
102 python_test() {
103 esetup.py test
104 }
105
106 src_install() {
107 mydistutilsargs+=(
108 install
109 --disable-html-docs
110 --disable-man-pages
111 )
112
113 distutils-r1_src_install
114 }
115
116 python_install_all() {
117 local cmds=(
118 install_man
119 )
120 use doc && cmds+=(
121 install_docs --path="${ED%/}"/usr/share/doc/${PF}/html
122 )
123
124 distutils-r1_python_install "${cmds[@]}"
125 distutils-r1_python_install_all
126 }
127
128 pkg_postinst() {
129 python_foreach_impl pplugincache
130 }