Date: Friday, March 20, 2020 @ 11:23:37 Author: felixonmars Revision: 601547
archrelease: copy trunk to community-any Added: python-trustme/repos/community-any/PKGBUILD (from rev 601545, python-trustme/trunk/PKGBUILD) Deleted: python-trustme/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-20 11:23:35 UTC (rev 601546) +++ PKGBUILD 2020-03-20 11:23:37 UTC (rev 601547) @@ -1,34 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=python-trustme -_pyname=${pkgname/python-/} -pkgver=0.5.3 -pkgrel=1 -pkgdesc='Library for fake certificate authority (CA) to generate fake TLS certs' -url='https://trustme.readthedocs.io' -arch=('any') -license=('MIT') -depends=('python' 'python-cryptography') -makedepends=('python' 'python-setuptools' 'python-cryptography') -checkdepends=('python-pytest' 'python-pyopenssl' 'python-service_identity') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/python-trio/trustme/archive/v${pkgver}.tar.gz) -sha512sums=('dd890964ef2d2387ec0a67afa1ead8b30872d6e95c396225310df375fab342ed32874dbaf62649ec5479ea736f8ab0ad1c88d06e675d6f65411cdd37d84045a3') - -build() { - cd ${_pyname}-${pkgver} - python setup.py build -} - -check() { - cd ${_pyname}-${pkgver} - PYTHONPATH=. py.test -} - -package() { - cd ${_pyname}-${pkgver} - python setup.py install -O1 --root="${pkgdir}" --skip-build - install -Dm 644 LICENSE.MIT -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: python-trustme/repos/community-any/PKGBUILD (from rev 601545, python-trustme/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-20 11:23:37 UTC (rev 601547) @@ -0,0 +1,34 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=python-trustme +_pyname=${pkgname/python-/} +pkgver=0.6.0 +pkgrel=1 +pkgdesc='Library for fake certificate authority (CA) to generate fake TLS certs' +url='https://trustme.readthedocs.io' +arch=('any') +license=('MIT') +depends=('python' 'python-cryptography') +makedepends=('python' 'python-setuptools' 'python-cryptography') +checkdepends=('python-pytest' 'python-pyopenssl' 'python-service_identity') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/python-trio/trustme/archive/v${pkgver}.tar.gz) +sha512sums=('4c76afebde7e57965aa5c86e4e14c6a4663355bc4a713366973ee521d235ca26bc0a96b08208f6288a713a83135ed0412e991de36c0c0de1e0155357142f5ec6') + +build() { + cd ${_pyname}-${pkgver} + python setup.py build +} + +check() { + cd ${_pyname}-${pkgver} + PYTHONPATH=. py.test +} + +package() { + cd ${_pyname}-${pkgver} + python setup.py install -O1 --root="${pkgdir}" --skip-build + install -Dm 644 LICENSE.MIT -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et: