* update python-portend to 3.2.0-1
This commit is contained in:
parent
4d7f1e1cab
commit
79d6924fc6
@ -4,19 +4,19 @@
|
||||
|
||||
pkgname='python-portend'
|
||||
_pkgbase="${pkgname//python-/}"
|
||||
pkgver=3.1.0
|
||||
pkgrel=3
|
||||
pkgver=3.2.0
|
||||
pkgrel=1
|
||||
pkgdesc="Use portend to monitor TCP ports for bound or unbound states."
|
||||
arch=(any)
|
||||
url="https://github.com/jaraco/portend"
|
||||
license=('MIT')
|
||||
depends=('python' 'python-tempora')
|
||||
makedepends=('python-setuptools' 'python-setuptools-scm' 'python-tox'
|
||||
'python-tempora')
|
||||
makedepends=('python-setuptools' 'python-setuptools-scm'
|
||||
'python-build' 'python-installer' 'python-wheel')
|
||||
checkdepends=('python-pytest')
|
||||
source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz"
|
||||
'LICENSE')
|
||||
sha512sums=('017dff68ea85f48d19398f71fbd8189329ca9c27c05d8599dd5e53632eb5ddc6dea322e94c924a0653f25f042a3c8ee1cda5f8450b02f3406a72036d54cd1aaf'
|
||||
sha512sums=('56790cdb6d1619e8873acc2498f9bee758a64ad8f8e47f31e48ae1ac7b6f038fc81af5d52cbc4bc4797dd6dc25d453d391d73d454c98559b1d6a8e9061837d7f'
|
||||
'1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
|
||||
|
||||
prepare() {
|
||||
@ -37,7 +37,7 @@ build() {
|
||||
# setuptools wont find version from git tag
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
|
||||
cd "${srcdir}/${_pkgbase}-${pkgver}"
|
||||
python ./setup.py build
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
@ -48,7 +48,7 @@ check() {
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pkgbase}-${pkgver}"
|
||||
python ./setup.py install --root="${pkgdir}" --optimize=1
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# the author has promised to include a LICENSE file in future releases:
|
||||
# https://github.com/jaraco/skeleton/issues/1
|
||||
|
Loading…
x
Reference in New Issue
Block a user