summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <none@none>2012-02-26 13:41:28 +0100
committerKrzysztof Pawlik <none@none>2012-02-26 13:41:28 +0100
commit5430babe6ba7f3f6d2408e9820a6c7d0f349ff70 (patch)
tree2bdd5140eedba1feb52c153c38680906abacd675
parentAdd ebuilds testing python-distutils-ng.eclass. (diff)
downloadnelchael-5430babe6ba7f3f6d2408e9820a6c7d0f349ff70.tar.gz
nelchael-5430babe6ba7f3f6d2408e9820a6c7d0f349ff70.tar.bz2
nelchael-5430babe6ba7f3f6d2408e9820a6c7d0f349ff70.zip
Add ebuilds testing python-distutils-ng.eclass.
(Portage version: 2.1.10.49/hg/Linux x86_64, signed Manifest commit with key 0xF6A80E46)
-rw-r--r--dev-python/xlwt/ChangeLog10
-rw-r--r--dev-python/xlwt/Manifest18
-rw-r--r--dev-python/xlwt/metadata.xml7
-rw-r--r--dev-python/xlwt/xlwt-0.7.2-r256.ebuild66
4 files changed, 101 insertions, 0 deletions
diff --git a/dev-python/xlwt/ChangeLog b/dev-python/xlwt/ChangeLog
new file mode 100644
index 0000000..e63130f
--- /dev/null
+++ b/dev-python/xlwt/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/xlwt
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*xlwt-0.7.2-r256 (26 Feb 2012)
+
+ 26 Feb 2012; Krzysztof Pawlik <nelchael@gentoo.org> +xlwt-0.7.2-r256.ebuild,
+ +metadata.xml:
+ Add ebuilds testing python-distutils-ng.eclass.
+
diff --git a/dev-python/xlwt/Manifest b/dev-python/xlwt/Manifest
new file mode 100644
index 0000000..5cc5939
--- /dev/null
+++ b/dev-python/xlwt/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+DIST xlwt-0.7.2.tar.gz 114736 RMD160 bc5c28ee22af2dd0cc5947fcd1741829c0a0ead6 SHA1 f56d3de29bc3f39c560660fd7aaecef6ad7cb5a4 SHA256 4dfbacf77e1b9e760621a8d63cd1e799fb046087a9f2a81b40d300c425e0a056
+EBUILD xlwt-0.7.2-r256.ebuild 1528 RMD160 ca6ac285234964a09fe18cabe166e741a828e286 SHA1 65c1925745a45888df7a387816e6684c44fb358f SHA256 46bdbd7a2fc805a4e1bf53dd49ed8aeacdc316c6f25a100cc1d9cd76aeb1a1c5
+MISC ChangeLog 295 RMD160 b55ec8e8233bc7f424f74abae64abcd4e04ebd4d SHA1 3578cb36567187cf9848ab1f2906777a4f8e0342 SHA256 80a20c224233d45e7a7bdc33fb61cf650dc16c4a469bd687bf2dc2df8167c5c2
+MISC metadata.xml 205 RMD160 e987371be157660daac092207f697d0131df2861 SHA1 73785dc8ec827ff32d4388ac9824d4ea5fd349d3 SHA256 01b130f2def7aeb83c9977e02bedc8ba2ca4b3b0d2257a4711795ee50acf81d2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQEcBAEBCgAGBQJPSih4AAoJEBZyv1r2qA5GplAIAInPKo6L7JztwEfVW9RGlBzI
+dMpXEx/edJn57e2CXKSVQ5f8AS8zf0EThtjbRx/fY4350NMACLjPKL9f+WNtUofI
+g5T+m3tVb9aIZUOaEt7e/SxEdngGIkBC8KSogcRn1SGznU+0k8t2vshexspXgbca
+pv1jQbhGxgEktdeVtrKGunoMQd0YH2tfHMSm4XWjz55XWUYfx61St2ae9OXyszO+
+fMuk2YGXXzvGAKhYIwvd+pQ4h/QQMQUhgIAjI9quWkYCUcKhoF7jXy47vxesDelI
+RLkHlVYYIEnqgU+P4IwIOQ5XHaqtGxp2pZVU8dT02uHcOPqX5vAmkUzs6WoAxBA=
+=bbmL
+-----END PGP SIGNATURE-----
diff --git a/dev-python/xlwt/metadata.xml b/dev-python/xlwt/metadata.xml
new file mode 100644
index 0000000..bc261ed
--- /dev/null
+++ b/dev-python/xlwt/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>nelchael@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/xlwt/xlwt-0.7.2-r256.ebuild b/dev-python/xlwt/xlwt-0.7.2-r256.ebuild
new file mode 100644
index 0000000..0616d5e
--- /dev/null
+++ b/dev-python/xlwt/xlwt-0.7.2-r256.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header$
+
+EAPI="4"
+
+#USE_PYTHON="python25 python26 python27"
+PYTHON_OPTIONAL="no"
+
+inherit python-distutils-ng
+
+DESCRIPTION="Python library to create spreadsheet files compatible with Excel"
+HOMEPAGE="http://pypi.python.org/pypi/xlwt"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc-aix ~hppa-hpux ~ia64-hpux ~x86-interix ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="examples"
+
+DEPEND=""
+RDEPEND=""
+
+python_unpack_all() {
+ : echo " ### python_unpack_all ### (${@}) PYTHON=${PYTHON}"
+ unpack ${A} # Not needed
+}
+
+python_prepare_all() {
+ : echo " ### python_prepare_all ### (${@}) PYTHON=${PYTHON}"
+ sed -i \
+ -e "s,'doc,# 'doc,g" \
+ -e "s,'exa,# 'exa,g" \
+ setup.py || die
+}
+
+python_prepare() {
+ : echo " ### python_prepare ### (${@}) PYTHON=${PYTHON}"
+}
+
+python_configure() {
+ : echo " ### python_configure ### (${@}) PYTHON=${PYTHON}"
+}
+
+python_compile() {
+ : echo " ### python_compile ### (${@}) PYTHON=${PYTHON}"
+ ${PYTHON} setup.py build || die
+}
+
+python_test() {
+ : echo " ### python_test ### (${@}) PYTHON=${PYTHON}"
+}
+
+python_install() {
+ : echo " ### python_install ### (${@}) PYTHON=${PYTHON}"
+ ${PYTHON} setup.py install --no-compile --root="${D}/" || die
+}
+
+python_install_all() {
+ : echo " ### python_install_all ### (${@}) PYTHON=${PYTHON}"
+ dohtml xlwt/doc/*.html
+ if use examples; then
+ insinto "/usr/share/doc/${PF}"
+ doins -r xlwt/examples
+ fi
+}