Date: Monday, January 11, 2021 @ 09:27:34 Author: dvzrv Revision: 817797
archrelease: copy trunk to community-any Added: python-mailmanclient/repos/community-any/PKGBUILD (from rev 817796, python-mailmanclient/trunk/PKGBUILD) Deleted: python-mailmanclient/repos/community-any/PKGBUILD ----------+ PKGBUILD | 87 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-11 09:27:19 UTC (rev 817796) +++ PKGBUILD 2021-01-11 09:27:34 UTC (rev 817797) @@ -1,43 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> - -_name=mailmanclient -pkgname=python-mailmanclient -pkgver=3.3.1 -pkgrel=3 -pkgdesc="Official Python bindings for the GNU Mailman 3 REST API" -arch=('any') -url="https://gitlab.com/mailman/mailmanclient" -license=('LGPL3') -depends=('python-requests') -makedepends=('python-setuptools') -checkdepends=('python-pytest' 'python-pytest-vcr' 'python-pytest-services' -'mailman3' 'python-falcon') -source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc}) -sha512sums=('bb23d47b4c5c9f4881298330f530624c7af243e9e583f8c20cac2de77fc4a789dae729e8daa96b6a6bbe775ac549d0fc118773697b7a156fb74e4365a18683b7' - 'SKIP') -validpgpkeys=('541EA0448453394FF77A0ECC9D9B2BA061D0A67C') # Abhilash Raj <raj.abhila...@gmail.com> - -prepare() { - mv -v "${_name}-${pkgver}" "$pkgname-$pkgver" - cd "$pkgname-$pkgver" -} - -build() { - cd "$pkgname-$pkgver" - python setup.py build -} - -check() { - cd "$pkgname-$pkgver" - export PYTHONPATH="build:${PYTHONPATH}" - pytest -v -} - -package() { - cd "$pkgname-$pkgver" - python setup.py install --skip-build \ - --optimize=1 \ - --prefix=/usr \ - --root="${pkgdir}" - install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" -} Copied: python-mailmanclient/repos/community-any/PKGBUILD (from rev 817796, python-mailmanclient/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-11 09:27:34 UTC (rev 817797) @@ -0,0 +1,44 @@ +# Maintainer: David Runge <dv...@archlinux.org> + +_name=mailmanclient +pkgname=python-mailmanclient +pkgver=3.3.2 +pkgrel=1 +pkgdesc="Official Python bindings for the GNU Mailman 3 REST API" +arch=('any') +url="https://gitlab.com/mailman/mailmanclient" +license=('LGPL3') +depends=('python-requests') +makedepends=('python-setuptools') +checkdepends=('python-pytest' 'python-pytest-vcr' 'python-pytest-services' +'mailman3' 'python-falcon') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc}) +sha512sums=('87498df04ba9c7471f3a1c462dccb11af3af93669e2b0bef0d7f88fd756a860845b17503ea53b5b6eb894fb53f42816ea798fe8658ac78c119db9e795f805755' + 'SKIP') +b2sums=('4578adc3a65b778fa9c24665e025b04d69e79253b851887712895eefc15c9a50eea135f131e9bded203a14573d40c74baa8a1f0e029eedf666a030701393d0e4' + 'SKIP') +validpgpkeys=('541EA0448453394FF77A0ECC9D9B2BA061D0A67C') # Abhilash Raj <raj.abhila...@gmail.com> + +prepare() { + mv -v "${_name}-${pkgver}" "$pkgname-$pkgver" + cd "$pkgname-$pkgver" +} + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +check() { + cd "$pkgname-$pkgver" + export PYTHONPATH="build:${PYTHONPATH}" + pytest -v -k 'not using.rst' +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --skip-build \ + --optimize=1 \ + --root="${pkgdir}" + install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" +}