aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pefile
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-pefile')
-rw-r--r--testing/py-pefile/APKBUILD52
1 files changed, 0 insertions, 52 deletions
diff --git a/testing/py-pefile/APKBUILD b/testing/py-pefile/APKBUILD
deleted file mode 100644
index b03d7125d6..0000000000
--- a/testing/py-pefile/APKBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# Contributor: Francesco Colista <fcolista@alpinelinux.org>
-# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
-pkgname=py-pefile
-_pkgname=pefile
-pkgver=2019.4.18
-pkgrel=0
-pkgdesc="Python PE parsing module"
-url="https://github.com/erocarrera/pefile"
-arch="noarch"
-license="MIT"
-depends="py3-future"
-makedepends="python2-dev python3-dev py-setuptools"
-subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2"
-source="$pkgname-$pkgver.tar.gz::https://github.com/erocarrera/$_pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
-
-build() {
- cd "$builddir"
- python2 setup.py build
- python3 setup.py build
-}
-
-check() {
- cd "$builddir"
- python2 setup.py check
- python3 setup.py check
-}
-
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc - $python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-_py2() {
- replaces="$pkgname"
- _py python2
-}
-
-_py3() {
- _py python3
-}
-
-sha512sums="351e9fa45731134b4c983b987ab865aa838d58c0c68b9d1a0645c705cd49d51c763ab6db7d8f5d0bf9a1ba8ea89dd297a7fc5bbd1d8184eebd84cf6553743ce5 py-pefile-2019.4.18.tar.gz"