diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-03-25 09:35:38 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-03-25 09:35:38 +0000 |
commit | e80fe065ef6352bc63142294033951bab9b5e97d (patch) | |
tree | b0dddee9f6ce3c392e9ce20884aa92d6a6f79596 /testing | |
parent | bc0ba3fd5464453fe99ac6f6fa4844d2774577cc (diff) | |
download | aports-e80fe065ef6352bc63142294033951bab9b5e97d.tar.bz2 aports-e80fe065ef6352bc63142294033951bab9b5e97d.tar.xz |
main/py-egenix-mx-base: moved from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-egenix-mx-base/APKBUILD | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/testing/py-egenix-mx-base/APKBUILD b/testing/py-egenix-mx-base/APKBUILD deleted file mode 100644 index 311f1a78f6..0000000000 --- a/testing/py-egenix-mx-base/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-egenix-mx-base -_pkgname=egenix-mx-base -pkgver=3.2.9 -pkgrel=0 -pkgdesc="eGenix.com mx Base collection of Python extensions" -url="http://www.egenix.com/products/python/mxBase/" -arch="all" -license="Custom" -depends="" -depends_dev="" -makedepends="python-dev" -install="" -subpackages="$pkgname-doc $pkgname-dev" -source="http://downloads.egenix.com/python/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" --skip-build || return 1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -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" |