projects
/
wtk-prefix-overlay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
420965b
)
Update g-pypi ebuild based on output from my current g-pypi.
author
W. Trevor King
<wking@drexel.edu>
Wed, 8 Jun 2011 04:00:56 +0000
(
00:00
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 8 Jun 2011 04:00:56 +0000
(
00:00
-0400)
app-portage/g-pypi/g-pypi-0.2.1.ebuild
patch
|
blob
|
history
diff --git
a/app-portage/g-pypi/g-pypi-0.2.1.ebuild
b/app-portage/g-pypi/g-pypi-0.2.1.ebuild
index ae4fecb6537d3774ce7046480b5d60cb2130c6ab..95f45d3ca71979ea23c07921d9e3a5fb920475b6 100644
(file)
--- a/
app-portage/g-pypi/g-pypi-0.2.1.ebuild
+++ b/
app-portage/g-pypi/g-pypi-0.2.1.ebuild
@@
-1,27
+1,41
@@
-# Copyright 1999-20
08
Gentoo Foundation
+# Copyright 1999-20
11
Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit distutils
+EAPI="3"
+
+PYTHON_DEPEND="*:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_MODNAME="g_pypi"
-DESCRIPTION="Create Python ebuilds for Gentoo by querying The Python Package Index"
-HOMEPAGE="http://tools.assembla.com/g-pypi/"
-SRC_URI="http://pypi.python.org/packages/source/g/${PN}/${P}.tar.gz"
+inherit distutils
+
+DESCRIPTION="Tool for creating Gentoo ebuilds for Python packages by querying PyPI (The Cheese Shop)"
+HOMEPAGE="http://code.google.com/p/${PN}/"
+SRC_URI="mirror://pypi/{$PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
-IUSE="test"
+IUSE="test
doc
"
DEPEND="dev-python/setuptools
test? ( dev-python/nose )"
DEPEND="dev-python/setuptools
test? ( dev-python/nose )"
-RDEPEND="dev-python/
setuptool
s
- dev-python/
pygment
s
+RDEPEND="dev-python/
pygment
s
+ dev-python/
setuptool
s
dev-python/cheetah
dev-python/cheetah
- app-portage/gentoolkit
dev-python/configobj
dev-python/configobj
+ app-portage/gentoolkit
dev-python/yolk"
dev-python/yolk"
+src_install() {
+ distutils_src_install
+ if use doc; then
+ dodoc "${S}"/docs/*
+ fi
+
+}
+
src_test() {
PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed"
}
src_test() {
PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed"
}
-