diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 13 insertions, 11 deletions
@@ -1,17 +1,19 @@ pkgbase = python-colour-datasets pkgdesc = Colour science datasets for use with Colour - pkgver = 0.2.1 + pkgver = 0.2.6 pkgrel = 1 url = https://github.com/colour-science/colour-datasets arch = any license = custom:BSD-3-clause - makedepends = python-setuptools + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel depends = python-cachetools depends = python-colour-science depends = python-opencv depends = python-tqdm depends = python-xlrd - source = https://files.pythonhosted.org/packages/source/c/colour_datasets/colour_datasets-0.2.1.tar.gz - sha256sums = 57ba3c0fda0cac6986122fe36006ac26f4bfb0af10c5ff3cc4a5c2a02aeb8338 + source = https://files.pythonhosted.org/packages/source/c/colour_datasets/colour_datasets-0.2.6.tar.gz + sha256sums = 242d93831e9d64fcc411fc7fea010a30d7d739d1e8f9535b3e9526da75222ce4 pkgname = python-colour-datasets @@ -2,24 +2,24 @@ pkgname=python-colour-datasets _name=colour_datasets -pkgver=0.2.1 +pkgver=0.2.6 pkgrel=1 pkgdesc="Colour science datasets for use with Colour" arch=('any') url="https://github.com/colour-science/colour-datasets" license=('custom:BSD-3-clause') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-wheel') depends=('python-cachetools' 'python-colour-science' 'python-opencv' 'python-tqdm' 'python-xlrd') source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") -sha256sums=('57ba3c0fda0cac6986122fe36006ac26f4bfb0af10c5ff3cc4a5c2a02aeb8338') +sha256sums=('242d93831e9d64fcc411fc7fea010a30d7d739d1e8f9535b3e9526da75222ce4') build() { cd "$_name-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$_name-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -}
\ No newline at end of file + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |