[arch-commits] Commit in python-trustme/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Feb 13 18:42:23 UTC 2021


    Date: Saturday, February 13, 2021 @ 18:42:23
  Author: anthraxx
Revision: 859533

upgpkg: python-trustme 0.7.0-1

Modified:
  python-trustme/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-13 18:42:13 UTC (rev 859532)
+++ PKGBUILD	2021-02-13 18:42:23 UTC (rev 859533)
@@ -2,8 +2,8 @@
 
 pkgname=python-trustme
 _pyname=${pkgname/python-/}
-pkgver=0.6.0
-pkgrel=3
+pkgver=0.7.0
+pkgrel=1
 pkgdesc='Library for fake certificate authority (CA) to generate fake TLS certs'
 url='https://trustme.readthedocs.io'
 arch=('any')
@@ -11,8 +11,9 @@
 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')
+source=(https://github.com/python-trio/trustme/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('5a371fd85af6a540fa992930e4bfbb91579a60fc5e868e2cf29921a941892e25e8841c4dc5c0d36b5c243edc345e5471c272a9fc72af6c15fdcd723b4b9d867b')
+b2sums=('e0e3faab4d03b53fc0f5e3f0517a86032a25260bed24005e8ca2865922c4628143340ab970ac7de4c28155a79047fd74d2be45d176f869610160bd2ca10289aa')
 
 build() {
   cd ${_pyname}-${pkgver}
@@ -21,7 +22,8 @@
 
 check() {
   cd ${_pyname}-${pkgver}
-  PYTHONPATH=. py.test
+  export PYTHONPATH=$(pwd)
+  py.test
 }
 
 package() {



More information about the arch-commits mailing list