dev-python/egenix-mx-base: Version Bump
authorJustin Lecher <jlec@gentoo.org>
Thu, 15 Oct 2015 12:59:49 +0000 (14:59 +0200)
committerJustin Lecher <jlec@gentoo.org>
Thu, 15 Oct 2015 14:41:21 +0000 (16:41 +0200)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/egenix-mx-base/Manifest
dev-python/egenix-mx-base/egenix-mx-base-3.2.9.ebuild [new file with mode: 0644]
dev-python/egenix-mx-base/metadata.xml

index a2e34ba76da5122ed7674f70136f1777e595047a..de384dcf44a6f64309928eb2136f017bcda31fc7 100644 (file)
@@ -1,2 +1,3 @@
 DIST egenix-mx-base-3.2.5.tar.gz 4575752 SHA256 bfd0d2aeef73532697c857db26ea11a3574280b1d439d42501c36b4c1d989dce SHA512 707d4cb96de04f967c1a37d156f41d9570b580088132f96533b7b4319c1fc0492a29b01ce1dba9527d7fc7cada99da8767a55c0994c285af81af82fd0f370a42 WHIRLPOOL 6f1a190c3d3dad516b58005815fb283c74cba6a3bb87a9f4dfe1f1bb18789ef8731af8e151e1e855feb0338734ea6232c984d259836607bafa3ddbeb0956887f
 DIST egenix-mx-base-3.2.8.tar.gz 4597088 SHA256 0da55233e45bc3f88870e62e60a79c2c86bad4098b8128343fd7be877f44a3c0 SHA512 26a8d53c2a8ccfe088ac201d0b50d9becc402220746dae2f4fe67b55a1c0cff29b6b7f635f689752c4d444bb05b5edc30972354301830ae24e13b845596dcff9 WHIRLPOOL caba8296c996dc847b0039d5b088f3ddf8e2fae36af1bdb563ca705bf39d6d00aed490c785e303bce9cb79c425f2ca32a244e6f8cfdfdf529548fe2ddd1e3d39
+DIST egenix-mx-base-3.2.9.tar.gz 4611603 SHA256 1c6b67688e7a231c6c1da09b7a6a2210745c3f2507bdda70e2639faedbf68977 SHA512 ff3b6ba90e9729004e7b18511a69529698b7d6089f08b686a0930d8f065323933e9fb97f2ed7a5b24c4bca0ddad1983773144b5dd9ee401859a2ffbfcfc79025 WHIRLPOOL 920b309345662eca1d898facd0d44a38bfcce989450449699b5b5c9d9fdbd5b09eaead8f522b982c0883f77c1cbd049d249c5f2676e28446bf5f6716301c1be8
diff --git a/dev-python/egenix-mx-base/egenix-mx-base-3.2.9.ebuild b/dev-python/egenix-mx-base/egenix-mx-base-3.2.9.ebuild
new file mode 100644 (file)
index 0000000..81b34e4
--- /dev/null
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="eGenix utils for Python"
+HOMEPAGE="http://www.egenix.com/products/python/mxBase https://pypi.python.org/pypi/egenix-mx-base"
+SRC_URI="http://downloads.egenix.com/python/${P}.tar.gz"
+
+LICENSE="eGenixPublic-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+# Correct broken tests
+PATCHES=( "${FILESDIR}"/${PN}-3.2.6-tests.patch )
+
+python_prepare_all() {
+       # Don't install documentation in site-packages directories.
+       sed -e "/\.pdf/d" -i egenix_mx_base.py || die
+
+       distutils-r1_python_prepare_all
+}
+
+python_compile() {
+       if ! python_is_python3; then
+               local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+       fi
+       distutils-r1_python_compile
+}
+
+python_test() {
+       local t
+
+       while IFS= read -r -d '' t
+       do
+               "${PYTHON}" "${t}" || die "${t} failed with ${EPYTHON}"
+       done < <(find -name test.py -print0)
+}
+
+python_install() {
+       local f dest=${D}$(python_get_includedir)/mx
+
+       distutils-r1_python_install \
+               build --build-platlib "${BUILD_DIR}"/lib
+
+       mkdir -p "${dest}" || die
+       while IFS= read -r -d '' f
+       do
+               mv -f "${f}" "${dest}" || die
+       done < <(find "${D}$(python_get_sitedir)/mx" -type f -name "*.h" -print0)
+}
+
+python_install_all() {
+       local f
+
+       distutils-r1_python_install_all
+
+       dohtml -a html -r mx
+       while IFS= read -r -d '' f
+       do
+               dodoc "${f}"
+       done < <(find -name '*.pdf' -print0)
+}
index de483c53568fa127e082f0a932b29dc573eb3ebf..301d2207cc291aebf05ac934224fc74e5e8a74b7 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>python</herd>
+       <herd>python</herd>
 </pkgmetadata>