* add python-pyasyncore
This commit is contained in:
parent
82f9ecd674
commit
724abc078d
18
python/python-pyasyncore/.SRCINFO
Normal file
18
python/python-pyasyncore/.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
pkgbase = python-pyasyncore
|
||||
pkgdesc = Make asyncore available for Python 3.12 onwards
|
||||
pkgver = 1.0.4
|
||||
pkgrel = 2
|
||||
url = https://github.com/simonrob/pyasyncore
|
||||
arch = any
|
||||
license = PSF-2.0
|
||||
checkdepends = python-tests
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-wheel
|
||||
depends = python
|
||||
provides = python-asyncore
|
||||
source = python-pyasyncore-1.0.4.tar.gz::https://github.com/simonrob/pyasyncore/archive/v1.0.4/1.0.4.tar.gz
|
||||
sha256sums = 4d9d423ef3a3a601a9e6e638cb2951e1b49f7e94095818f25e439529fec34674
|
||||
|
||||
pkgname = python-pyasyncore
|
3
python/python-pyasyncore/.nvchecker.toml
Normal file
3
python/python-pyasyncore/.nvchecker.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[python-pyasyncore]
|
||||
source = "pypi"
|
||||
pypi = "pyasyncore"
|
37
python/python-pyasyncore/PKGBUILD
Normal file
37
python/python-pyasyncore/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Carl Smedstad <carsme@archlinux.org>
|
||||
|
||||
pkgname=python-pyasyncore
|
||||
_pkgname=${pkgname#python-}
|
||||
pkgver=1.0.4
|
||||
pkgrel=2
|
||||
pkgdesc="Make asyncore available for Python 3.12 onwards"
|
||||
arch=(any)
|
||||
url="https://github.com/simonrob/pyasyncore"
|
||||
license=(PSF-2.0)
|
||||
depends=(python)
|
||||
makedepends=(
|
||||
python-build
|
||||
python-installer
|
||||
python-setuptools
|
||||
python-wheel
|
||||
)
|
||||
checkdepends=(python-tests)
|
||||
provides=(python-asyncore)
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver/$pkgver.tar.gz")
|
||||
sha256sums=('4d9d423ef3a3a601a9e6e638cb2951e1b49f7e94095818f25e439529fec34674')
|
||||
|
||||
build() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
python -m unittest discover -v
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user