[arch-commits] Commit in python-trustme/repos/community-any (PKGBUILD PKGBUILD)

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


    Date: Saturday, February 13, 2021 @ 18:42:26
  Author: anthraxx
Revision: 859535

archrelease: copy trunk to community-any

Added:
  python-trustme/repos/community-any/PKGBUILD
    (from rev 859534, python-trustme/trunk/PKGBUILD)
Deleted:
  python-trustme/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   70 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 36 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-13 18:42:23 UTC (rev 859534)
+++ PKGBUILD	2021-02-13 18:42:26 UTC (rev 859535)
@@ -1,34 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=python-trustme
-_pyname=${pkgname/python-/}
-pkgver=0.6.0
-pkgrel=3
-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:

Copied: python-trustme/repos/community-any/PKGBUILD (from rev 859534, python-trustme/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-13 18:42:26 UTC (rev 859535)
@@ -0,0 +1,36 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-trustme
+_pyname=${pkgname/python-/}
+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')
+license=('MIT')
+depends=('python' 'python-cryptography')
+makedepends=('python' 'python-setuptools' 'python-cryptography')
+checkdepends=('python-pytest' 'python-pyopenssl' 'python-service_identity')
+source=(https://github.com/python-trio/trustme/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('5a371fd85af6a540fa992930e4bfbb91579a60fc5e868e2cf29921a941892e25e8841c4dc5c0d36b5c243edc345e5471c272a9fc72af6c15fdcd723b4b9d867b')
+b2sums=('e0e3faab4d03b53fc0f5e3f0517a86032a25260bed24005e8ca2865922c4628143340ab970ac7de4c28155a79047fd74d2be45d176f869610160bd2ca10289aa')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  export PYTHONPATH=$(pwd)
+  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:



More information about the arch-commits mailing list