diff options
author | prspkt <prspkt@protonmail.com> | 2019-03-28 12:10:01 +0200 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-03-28 12:10:01 +0200 |
commit | da221c8a7278eef76869aeacce6eae9c3e73fbcc (patch) | |
tree | 4d80bc4ae7c1a9b2103641c66396278959f20d09 /testing/py3-crc16 | |
parent | 709e9e0caa5698f1083308b9a12d8699d27531a5 (diff) | |
download | aports-da221c8a7278eef76869aeacce6eae9c3e73fbcc.tar.bz2 aports-da221c8a7278eef76869aeacce6eae9c3e73fbcc.tar.xz |
testing/py3-crc16: clarify license, modernize
Diffstat (limited to 'testing/py3-crc16')
-rw-r--r-- | testing/py3-crc16/APKBUILD | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/testing/py3-crc16/APKBUILD b/testing/py3-crc16/APKBUILD index 8667abe702..93624f2341 100644 --- a/testing/py3-crc16/APKBUILD +++ b/testing/py3-crc16/APKBUILD @@ -7,37 +7,22 @@ pkgrel=0 pkgdesc="A Python library for calculating CRC16" url="https://code.google.com/p/pycrc16/" arch="all" -license="MIT" +license="LGPL-3.0-or-later" provides="py-crc16" # for backwards compatibility replaces="py-crc16=$pkgver-r$pkgrel" # for backwards compatibility depends="python3" -depends_dev="" makedepends="python3-dev py3-setuptools" -install="" -subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_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 -} +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python3 setup.py build || return 1 + cd "$builddir" + python3 setup.py build } package() { - cd "$_builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="3cb6a4f5fd10a58c09792e321cc467e5 crc16-0.1.1.tar.gz" -sha256sums="c1f86aa0390f4baf07d2631b16b979580eae1d9a973a826ce45353a22ee8d396 crc16-0.1.1.tar.gz" sha512sums="45d5e8e13b1ac5f885b40516872a9233514f09aa8990915904b214eec2ef6084016f8f0c15bb411aaa1ffc32e8207020916f723e48eee726a7e6989901c9e65d crc16-0.1.1.tar.gz" |