aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pefile
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-07-15 13:00:25 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-07-15 13:00:29 +0000
commit1928008b914e68d1d6fa5c165fb0c505392de91d (patch)
treef91334606a43b76d713f655421b0372fa04015b2 /testing/py-pefile
parent6403b3bbe03174b494c8837e5e747ed144d36d3f (diff)
downloadaports-1928008b914e68d1d6fa5c165fb0c505392de91d.tar.bz2
aports-1928008b914e68d1d6fa5c165fb0c505392de91d.tar.xz
testing/py-pefile: new aport
Diffstat (limited to 'testing/py-pefile')
-rw-r--r--testing/py-pefile/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/py-pefile/APKBUILD b/testing/py-pefile/APKBUILD
new file mode 100644
index 0000000000..96c99a0da7
--- /dev/null
+++ b/testing/py-pefile/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=py-pefile
+_pkgname=pefile
+pkgver=2016.3.28
+pkgrel=0
+pkgdesc="Python PE parsing module"
+url="https://github.com/erocarrera/pefile"
+arch="noarch"
+license="MIT"
+depends="py-future"
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="https://github.com/erocarrera/$_pkgname/files/192316/$_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" || return 1
+ install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+md5sums="2f3259fa2b5cf48a3fdc5422a58f854f pefile-2016.3.28.tar.gz"
+sha256sums="f24021085b5c3ef7b0898bb1f1d93eecd3839e03512769e22b0c5a10d9095f7b pefile-2016.3.28.tar.gz"
+sha512sums="f27918634507fd839b3bc71677b57676f1b2e46c43970dba158b1b4cb4202344de41fef53fffd294dd70f89b1a52aec0124e835a410ff7f0bec9b11ece425201 pefile-2016.3.28.tar.gz"