[arch-commits] Commit in python-authheaders/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Jan 23 15:38:42 UTC 2020
Date: Thursday, January 23, 2020 @ 15:38:41
Author: dvzrv
Revision: 554988
archrelease: copy trunk to community-any
Added:
python-authheaders/repos/community-any/PKGBUILD
(from rev 554987, python-authheaders/trunk/PKGBUILD)
Deleted:
python-authheaders/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 45 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-23 15:38:29 UTC (rev 554987)
+++ PKGBUILD 2020-01-23 15:38:41 UTC (rev 554988)
@@ -1,47 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=authheaders
-pkgname=python-authheaders
-pkgver=0.12.1
-pkgrel=1
-pkgdesc="Library for the generation of email authentication headers"
-arch=('any')
-url="https://github.com/ValiMail/authentication-headers"
-license=('BSD' 'MPL2' 'ZPL')
-# python-publicsuffix should actually not be in use:
-# https://github.com/ValiMail/authentication-headers/issues/2
-depends=('python-authres' 'python-dkim' 'python-dnspython'
-'python-publicsuffix')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-# latest version doesn't offer verification:
-# https://github.com/ValiMail/authentication-headers/issues/1
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('68ac36227d0ef602ed89fcd5852c0984b0875bd4a3e1465d87791178a0e42072bca79335054c82bbbe6e06f6484598cabfa83676bd3338114f82bf9dbd23ccc3')
-# validpgpkeys=('E7729BFFBE85400FEEEE23B178D7DEFB9AD59AF1')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "$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 {CHANGES,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: python-authheaders/repos/community-any/PKGBUILD (from rev 554987, python-authheaders/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-23 15:38:41 UTC (rev 554988)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=authheaders
+pkgname=python-authheaders
+pkgver=0.12.2
+pkgrel=1
+pkgdesc="Library for the generation of email authentication headers"
+arch=('any')
+url="https://github.com/ValiMail/authentication-headers"
+license=('BSD' 'MPL2' 'ZPL')
+# python-publicsuffix should actually not be in use:
+# https://github.com/ValiMail/authentication-headers/issues/2
+depends=('python-authres' 'python-dkim' 'python-dnspython'
+'python-publicsuffix')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('418c31f4b2d8f8893f986785814860cde7188e450aeb8f5b50f97fc32a27cdf6695942586c3fe1695b01f9468dd16a25afa67310e00b537422b42b9e7911fc68'
+ 'SKIP')
+validpgpkeys=('E7729BFFBE85400FEEEE23B178D7DEFB9AD59AF1') # Donald Scott Kitterman <scott at kitterman.com>
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$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 {CHANGES,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list