diff options
author | lilac | 2022-02-28 04:18:06 +0800 |
---|---|---|
committer | lilac | 2022-02-28 04:18:06 +0800 |
commit | 72e4fd5a79ba0105a1402bb2ff277426afc5b869 (patch) | |
tree | 92c8f7b9d159909d8368938e1c9890782716c06f | |
parent | c92d64aab2b170601631e41141c8dae7fef6b746 (diff) | |
download | aur-72e4fd5a79ba0105a1402bb2ff277426afc5b869.tar.gz |
[lilac] updated to 1.7-2
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 10 insertions, 11 deletions
@@ -1,14 +1,16 @@ pkgbase = python-multimethod pkgdesc = Multiple argument dispatching pkgver = 1.7 - pkgrel = 1 + pkgrel = 2 url = https://github.com/coady/multimethod arch = any license = Apache checkdepends = python-pytest checkdepends = python-pytest-cov - makedepends = python-dephell + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python source = multimethod-1.7.tar.gz::https://github.com/coady/multimethod/archive/v1.7.tar.gz sha512sums = 13831989caab4831f5401efd1f99a633195b5141a98119c2660e1b32a4c017814fb86217bb3d165b9d0a2de5999f9f0af388c2bae90b0719b0cdf4e856948ed8 @@ -3,7 +3,7 @@ pkgname=python-multimethod _pkgname=multimethod pkgver=1.7 -pkgrel=1 +pkgrel=2 pkgdesc='Multiple argument dispatching' arch=('any') url='https://github.com/coady/multimethod' @@ -12,8 +12,10 @@ depends=( python ) makedepends=( - python-dephell + python-build + python-installer python-setuptools + python-wheel ) checkdepends=( python-pytest @@ -22,14 +24,9 @@ checkdepends=( source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/coady/multimethod/archive/v${pkgver}.tar.gz") sha512sums=('13831989caab4831f5401efd1f99a633195b5141a98119c2660e1b32a4c017814fb86217bb3d165b9d0a2de5999f9f0af388c2bae90b0719b0cdf4e856948ed8') -prepare() { - cd "${_pkgname}-${pkgver}" - dephell deps convert --from pyproject.toml --to setup.py -} - build() { cd "${_pkgname}-${pkgver}" - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -39,6 +36,6 @@ check() { package() { cd "${_pkgname}-${pkgver}" - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python -m installer --destdir="${pkgdir}" dist/*.whl } # vim:set ts=2 sw=2 et: |