diff options
author | Christian Kampka <christian@kampka.net> | 2015-12-27 23:58:31 +0100 |
---|---|---|
committer | Christian Kampka <christian@kampka.net> | 2015-12-27 23:58:50 +0100 |
commit | 2f5e87706c754fe098f686feeeb59423db82f315 (patch) | |
tree | 85cf9e8169c9cbedd3f32a1e7fd891c3181239b6 /testing/py-egenix-mx-base/APKBUILD | |
parent | 622c246bd4c6824bd5bf169c7b0a4ab935cd7680 (diff) | |
download | aports-2f5e87706c754fe098f686feeeb59423db82f315.tar.bz2 aports-2f5e87706c754fe098f686feeeb59423db82f315.tar.xz |
testing/py-egenix-base: new upstream version 3.2.9
Fix install of dev headers
Diffstat (limited to 'testing/py-egenix-mx-base/APKBUILD')
-rw-r--r-- | testing/py-egenix-mx-base/APKBUILD | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/testing/py-egenix-mx-base/APKBUILD b/testing/py-egenix-mx-base/APKBUILD index 3fc67d34de..311f1a78f6 100644 --- a/testing/py-egenix-mx-base/APKBUILD +++ b/testing/py-egenix-mx-base/APKBUILD @@ -2,9 +2,9 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-egenix-mx-base _pkgname=egenix-mx-base -pkgver=3.2.8 +pkgver=3.2.9 pkgrel=0 -pkgdesc="eGenix.com mx Base ccollection of Python extensions" +pkgdesc="eGenix.com mx Base collection of Python extensions" url="http://www.egenix.com/products/python/mxBase/" arch="all" license="Custom" @@ -12,7 +12,7 @@ depends="" depends_dev="" makedepends="python-dev" install="" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-dev" source="http://downloads.egenix.com/python/$_pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$_pkgname-$pkgver @@ -23,10 +23,22 @@ build() { package() { cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python setup.py install --prefix=/usr --root="$pkgdir" --skip-build || return 1 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } -md5sums="9d9d3a25f9dc051a15e97f452413423b egenix-mx-base-3.2.8.tar.gz" -sha256sums="0da55233e45bc3f88870e62e60a79c2c86bad4098b8128343fd7be877f44a3c0 egenix-mx-base-3.2.8.tar.gz" -sha512sums="26a8d53c2a8ccfe088ac201d0b50d9becc402220746dae2f4fe67b55a1c0cff29b6b7f635f689752c4d444bb05b5edc30972354301830ae24e13b845596dcff9 egenix-mx-base-3.2.8.tar.gz" +dev() { + default_dev + PYLIBDIR="$(python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())')" || return 1 + PYINCDIR="$(python -c 'from distutils.sysconfig import get_python_inc; print(get_python_inc())')" || return 1 + cd "$subpkgdir/$PYLIBDIR" + for file in $(find . -name '*.h'); do + mkdir -p "$subpkgdir/$PYINCDIR/mx" || return 1 + mv "$file" "$subpkgdir/$PYINCDIR/mx" || return 1 + done + rm -rf "$subpkgdir/usr/lib" +} + +md5sums="b6f6612a95a857659e20968f496dfcc2 egenix-mx-base-3.2.9.tar.gz" +sha256sums="1c6b67688e7a231c6c1da09b7a6a2210745c3f2507bdda70e2639faedbf68977 egenix-mx-base-3.2.9.tar.gz" +sha512sums="ff3b6ba90e9729004e7b18511a69529698b7d6089f08b686a0930d8f065323933e9fb97f2ed7a5b24c4bca0ddad1983773144b5dd9ee401859a2ffbfcfc79025 egenix-mx-base-3.2.9.tar.gz" |