Date: Monday, May 1, 2023 @ 02:05:35 Author: polyzen Revision: 1455562
archrelease: copy trunk to community-testing-any Added: python-dkim/repos/community-testing-any/PKGBUILD (from rev 1455561, python-dkim/trunk/PKGBUILD) Deleted: python-dkim/repos/community-testing-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 42 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-01 02:05:14 UTC (rev 1455561) +++ PKGBUILD 2023-05-01 02:05:35 UTC (rev 1455562) @@ -1,38 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> - -pkgname=python-dkim -pkgver=1.1.2 -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') -makedepends=('python-build' 'python-installer' 'python-setuptools' - 'python-wheel') -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=('0c3a5af79de8a019123f81aa7f57e511a4ea713a272ea8b62a441a84dddc4b2c') -b2sums=('a202acba76b83bc6c9e82d02e45ae77a09aa016c77285efd8c1c291ca9633f1cb02335b86b6da232a291e6f9a9ae3b344f217a1539bc9bfd7b0cefcbff81ab4f') - -build() { - cd dkimpy-$pkgver - python -m build --wheel --skip-dependency-check --no-isolation -} - -check() { - cd dkimpy-$pkgver - python -m unittest dkim.tests.test_suite -} - -package() { - cd dkimpy-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl - - # Symlink license file - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - install -d "$pkgdir"/usr/share/licenses/$pkgname - ln -s "$site_packages"/dkimpy-$pkgver.dist-info/LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-dkim/repos/community-testing-any/PKGBUILD (from rev 1455561, python-dkim/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-01 02:05:35 UTC (rev 1455562) @@ -0,0 +1,42 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +pkgname=python-dkim +pkgver=1.1.3 +pkgrel=1 +pkgdesc='Python library that implements DKIM and ARC email signing and verification' +arch=('any') +url=https://launchpad.net/dkimpy +license=('ZLIB') +depends=('python-dnspython') +makedepends=( + 'python-build' + 'python-installer' + 'python-setuptools' + 'python-wheel' +) +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=('f33221951f633811176fd0f5a861f44bc23bdb5fdc2a7fa359753195401b1308') +b2sums=('179bd811725f17a89c6ef62b9295d5e0c97df9fc6257e62025262466eae79562ccb3e8088e2388ec481558c88647a646ebeb9b36afbf5d59919e14ac6f1ce0af') + +build() { + cd dkimpy-$pkgver + python -m build --wheel --skip-dependency-check --no-isolation +} + +check() { + cd dkimpy-$pkgver + python -m unittest dkim.tests.test_suite +} + +package() { + cd dkimpy-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s "$site_packages"/dkimpy-$pkgver.dist-info/LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}