[new package] python-aiormq 6.9.0
This commit is contained in:
parent
bc0f813b6a
commit
1d098659ee
38
mingw-w64-python-aiormq/PKGBUILD
Normal file
38
mingw-w64-python-aiormq/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Maintainer: Konstantin Podsvirov <konstantin@podsvirov.su>
|
||||||
|
|
||||||
|
_realname=aiormq
|
||||||
|
pkgbase=mingw-w64-python-${_realname}
|
||||||
|
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
|
||||||
|
pkgver=6.9.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Pure python AMQP 0.9.1 asynchronous client library (mingw-w64)"
|
||||||
|
arch=('any')
|
||||||
|
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||||
|
url='https://github.com/mosquito/aiormq/'
|
||||||
|
license=('spdx:Apache-2.0')
|
||||||
|
depends=("${MINGW_PACKAGE_PREFIX}-python"
|
||||||
|
"${MINGW_PACKAGE_PREFIX}-python-pamqp"
|
||||||
|
"${MINGW_PACKAGE_PREFIX}-python-yarl")
|
||||||
|
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
|
||||||
|
"${MINGW_PACKAGE_PREFIX}-python-installer"
|
||||||
|
"${MINGW_PACKAGE_PREFIX}-python-poetry-core"
|
||||||
|
"${MINGW_PACKAGE_PREFIX}-python-wheel")
|
||||||
|
options=('!strip')
|
||||||
|
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
|
||||||
|
sha256sums=('1c31f2098ad2beee6e95d0ad969c836876c1e3113e8c67142eb58565fedcab4c')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
|
||||||
|
|
||||||
|
python -m build --wheel --skip-dependency-check --no-isolation
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "python-build-${MSYSTEM}"
|
||||||
|
|
||||||
|
MSYS2_ARG_CONV_EXCL="--prefix=" \
|
||||||
|
python -m installer --prefix=${MINGW_PREFIX} \
|
||||||
|
--destdir="${pkgdir}" dist/*.whl
|
||||||
|
|
||||||
|
install -Dm644 COPYING "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/COPYING"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user