aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-20 09:11:48 +0300
committerprspkt <prspkt@protonmail.com>2019-06-20 09:33:45 +0300
commitab8c64889e32e60ab569bef1db04c487d81a35b5 (patch)
tree788461597982c9ea0c9a107bb51daedba704b2f6 /testing
parent6cb9d3bb210b356c451d3f2f73c443da1c434d89 (diff)
downloadaports-ab8c64889e32e60ab569bef1db04c487d81a35b5.tar.bz2
aports-ab8c64889e32e60ab569bef1db04c487d81a35b5.tar.xz
testing/py3-colour: clarify license, modernize
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-colour/APKBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/testing/py3-colour/APKBUILD b/testing/py3-colour/APKBUILD
index 89a35ed292..f3787380ff 100644
--- a/testing/py3-colour/APKBUILD
+++ b/testing/py3-colour/APKBUILD
@@ -4,10 +4,10 @@ pkgname=py3-colour
_pkgname=colour
pkgver=0.1.2
pkgrel=2
-pkgdesc="Converter and manipulator various color representation (HSL, RVB, web, X11, etc.)"
+pkgdesc="Python module to convert and manipulate color representations"
url="https://github.com/vaab/colour"
arch="noarch"
-license="BSD"
+license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools py3-d2to1"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
@@ -17,15 +17,11 @@ replaces="py-colour" # Backwards compatibility
replaces="py-colour=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
- python3 setup.py build || return 1
+ python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="819a068a7f1b3fd2c65f19019d64f8a2 colour-0.1.2.tar.gz"
-sha256sums="abbf846ce493dd2334f5bdb9e7ded15a483ccf97674ea17703817f73e8203270 colour-0.1.2.tar.gz"
sha512sums="2d8c76ff1576a5f2df7d7fe658a2f3f8513d5442b3c390cf1b0de68ecfd254a93fa55a0ed5a7128567d27508447f1aa641694b6940ba29c5d4006c68dd31b99a colour-0.1.2.tar.gz"