[arch-commits] Commit in python-dkim/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:49:08 UTC 2020


    Date: Monday, November 9, 2020 @ 16:49:08
  Author: foutrelis
Revision: 747564

archrelease: copy trunk to community-staging-any

Added:
  python-dkim/repos/community-staging-any/
  python-dkim/repos/community-staging-any/PKGBUILD
    (from rev 747563, python-dkim/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-dkim/repos/community-staging-any/PKGBUILD (from rev 747563, python-dkim/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:49:08 UTC (rev 747564)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=python-dkim
+pkgver=1.0.5
+pkgrel=2
+pkgdesc='Python library that implements DKIM and ARC email signing and verification'
+arch=('any')
+url=https://launchpad.net/dkimpy
+license=('ZLIB')
+depends=('python-dnspython' 'python-setuptools')
+checkdepends=('python-authres' 'python-pynacl')
+optdepends=('python-aiodns' 'python-authres' 'python-pynacl')
+source=("https://files.pythonhosted.org/packages/source/d/dkimpy/dkimpy-$pkgver.tar.gz")
+sha256sums=('9a2420bf09af686736773153fca32a02ae11ecbe24b540c26104628959f91121')
+
+build() {
+  cd dkimpy-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd dkimpy-$pkgver
+  python -m unittest dkim.tests.test_suite
+}
+
+package() {
+  cd dkimpy-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list