diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2016-08-18 20:46:53 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-21 22:24:04 +0200 |
commit | 5c9f3ca3e307be53b45beeed2ce1626f38008625 (patch) | |
tree | 919836fe454e953f46685adf8228b0401280d4b6 /community/py-crcmod | |
parent | 6a00a953ba02bab6440a2c784e7db37c6eaeace1 (diff) | |
download | aports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.bz2 aports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.xz |
testing/[various]: move to community
albatross-themes
apk-post-messages
autossh
bitcoin
btrbk
entr
ffmpegthumbnailer
firejail
firetools
fwsnort
gnome-colors
imapsync
inetutils-syslogd
inotify-tools-inc
isync
junit
ktsuss
letsencrypt-nosudo
libmbim
libndp
libqmi
libteam
mini-sendmail
modemmanager
namecoin
networkmanager
nginx-naxsi
numix-themes
nxapi
opencl-headers
opencl-icd-loader
opus-tools
perl-authen-ntlm
perl-bit-vector
perl-data-uniqid
perl-file-copy-recursive
perl-getopt-argvfile
perl-io-tee
perl-iptables-chainmgr
perl-iptables-parse
perl-module-scandeps
perl-par-dist
perl-par-packer
perl-par
perl-uri-escape
psad
py-crcmod
py-graphviz
py-lz4
py-opencl
py-opengl-accelerate
runit
secpwgen
secure-delete
socklog
spacefm
tinyssh
udevil
virt-viewer
virtualbricks
whois
wrk
xpra
zram-init
Diffstat (limited to 'community/py-crcmod')
-rw-r--r-- | community/py-crcmod/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/py-crcmod/APKBUILD b/community/py-crcmod/APKBUILD new file mode 100644 index 0000000000..777205b8a1 --- /dev/null +++ b/community/py-crcmod/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Stuart Cardall <developer@it-offshore.co.uk> +# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> +pkgname=py-crcmod +_pkgname=crcmod +pkgver=1.7 +pkgrel=0 +pkgdesc="Cyclic Redundancy Check (CRC) implementation in Python" +url="https://pypi.python.org/pypi/crcmod/" +arch="all" +license="MIT" +depends="python" +makedepends="python-dev" +source="https://files.pythonhosted.org/packages/source/c/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 || return 1 +} + +md5sums="2d5b92117d958dcead94f9e17f54cd32 crcmod-1.7.tar.gz" +sha256sums="dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e crcmod-1.7.tar.gz" +sha512sums="3c2f65004761c84f19d6ba95a0af74512108bad5007d9e20f8e684822e4196ce17073e58b47d2fa997e058e3d82782f3393458b6f0e86935418f38877d319a31 crcmod-1.7.tar.gz" |