Browse files

MISC: update manifest, update g-pypi

  • Loading branch information...
1 parent f989981 commit 6b2f289f665c00fe59e81db1a5c344805f85c9fc @npinto committed Apr 19, 2012
Showing with 30 additions and 13 deletions.
  1. +1 −2 app-portage/g-pypi/Manifest
  2. +29 −10 app-portage/g-pypi/g-pypi-9999.ebuild
  3. +0 −1 sci-libs/Theano/Manifest
View
3 app-portage/g-pypi/Manifest
@@ -1,2 +1 @@
-EBUILD g-pypi-9999.ebuild 673 RMD160 bb4dbfa7e94b3e40d9e63d039bf85fd9c986dc33 SHA1 d2a40a8a26c6b7064f7ec95e892f3d99509e5da6 SHA256 375d74ec906d404c49710c7a73b6580c4d1a58b11b42be5124d59dea9deac1cc
-MISC View 748 RMD160 95122d2a31aa2e42279593a6d8948564c54dbcb6 SHA1 1b2063ebae4943f57b992eb9b901dff4760de36f SHA256 1286850e76c237dfd94282053c21c33d9340f1c48c1e72e6cb3a1d94d7784c96
+EBUILD g-pypi-9999.ebuild 1048 RMD160 b1daa8ef8a03282d540327301ea61fe321b15349 SHA1 2de149e75108a8b66af423dad45a9586d9419412 SHA256 f9e09b8f5b5be7119edfe1ded9830aa9d3c654cadc52990ba275f033091d2225
View
39 app-portage/g-pypi/g-pypi-9999.ebuild
@@ -4,25 +4,44 @@
EAPI=4
-inherit distutils subversion
+if [ "${PV%9999}" != "${PV}" ] ; then
+ SCM=subversion
+ ESVN_REPO_URI="http://g-pypi.googlecode.com/svn/trunk/"
+fi
-DESCRIPTION="Tool for creating Gentoo ebuilds for Python packages by querying PyPI (The Cheese Shop)"
+inherit distutils ${SCM}
+
+DESCRIPTION="Create Gentoo ebuilds for Python packages by querying The Python Package Index (PyPI)"
HOMEPAGE="http://tools.assembla.com/g-pypi/"
-ESVN_REPO_URI="http://g-pypi.googlecode.com/svn/trunk/"
+
+if [ "${PV%9999}" != "${PV}" ] ; then
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="http://pypi.python.org/packages/source/g/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
LICENSE="GPL-2"
-KEYWORDS=""
SLOT="0"
-IUSE=""
+IUSE="test"
-RDEPEND="dev-python/pygments
-dev-python/setuptools
-dev-python/cheetah
-dev-python/yolk
-dev-pythonpython/configobj"
+DEPEND="dev-python/setuptools
+ test? ( dev-python/nose )"
+RDEPEND="dev-python/setuptools
+ dev-python/pygments
+ dev-python/cheetah
+ app-portage/gentoolkit
+ dev-python/configobj
+ dev-python/yolk"
src_install() {
distutils_src_install
insinto /usr/lib/python${PYTHON_ABI}/site-packages/g_pypi/
doins g_pypi/ebuild.tmpl || die "doins failed"
}
+
+src_test() {
+ PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed"
+}
View
1 sci-libs/Theano/Manifest
@@ -1,4 +1,3 @@
DIST Theano-0.5.0.tar.gz 1293848 RMD160 e360761d140e2e8e6bc56bfe4583aa9391f218e4 SHA1 bd6dad8aae29d6f72d34ff4b5434e7dbaf81755f SHA256 64a3a27c73778320a516cdee8f151371f8c2d5aede69b99f3b253b421aa58713
EBUILD Theano-0.5.0.ebuild 701 RMD160 efe8cc5dbcb710a8d81eb6adacec6518d90a038a SHA1 ee2fa505179a2f4580ed0155c42c491864ec76a1 SHA256 3b7ed898a07ba165427aff52e0ee17771e4a513ccaff9d0f8be89bcda579e597
EBUILD Theano-9999.ebuild 701 RMD160 efe8cc5dbcb710a8d81eb6adacec6518d90a038a SHA1 ee2fa505179a2f4580ed0155c42c491864ec76a1 SHA256 3b7ed898a07ba165427aff52e0ee17771e4a513ccaff9d0f8be89bcda579e597
-MISC Theano-0.5.0.ebuild.bak 516 RMD160 b76894aea998ea90a91ff66c4bf3570a140eb167 SHA1 3e83cf2f2649ab0011054d6261c7f13be26ecdbb SHA256 0904a60c6684709e2cc8110e6499a466fc449100328c0186bb4512cca88b9b1a

0 comments on commit 6b2f289

Please sign in to comment.