[arch-commits] Commit in python-dkim/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 05:34:53 UTC 2019
Date: Saturday, October 26, 2019 @ 05:34:52
Author: felixonmars
Revision: 520131
archrelease: copy trunk to community-staging-any
Added:
python-dkim/repos/community-staging-any/
python-dkim/repos/community-staging-any/PKGBUILD
(from rev 520130, python-dkim/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-dkim/repos/community-staging-any/PKGBUILD (from rev 520130, python-dkim/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 05:34:52 UTC (rev 520131)
@@ -0,0 +1,30 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=python-dkim
+pkgver=0.9.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-authres' 'python-dnspython' 'python-pynacl' 'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/d/dkimpy/dkimpy-$pkgver.tar.gz")
+sha256sums=('6bf47aa71bc466f5d6a201042317fb415fbc45f3cae4f5dbe1e337e235549ff2')
+
+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