[arch-commits] Commit in python-acme/repos/community-any (PKGBUILD PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Wed Mar 23 00:20:44 UTC 2022
Date: Wednesday, March 23, 2022 @ 00:20:44
Author: grawlinson
Revision: 1170993
archrelease: copy trunk to community-any
Added:
python-acme/repos/community-any/PKGBUILD
(from rev 1170992, python-acme/trunk/PKGBUILD)
Deleted:
python-acme/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 +++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 62 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-23 00:19:41 UTC (rev 1170992)
+++ PKGBUILD 2022-03-23 00:20:44 UTC (rev 1170993)
@@ -1,40 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
-
-pkgname=python-acme
-pkgver=1.25.0
-pkgrel=1
-pkgdesc="ACME protocol implementation in Python"
-arch=('any')
-license=('Apache')
-url="https://github.com/certbot/certbot"
-depends=(
- 'python-cryptography'
- 'python-josepy'
- 'python-pyopenssl'
- 'python-pyrfc3339'
- 'python-pytz'
- 'python-requests'
- 'python-requests-toolbelt'
- 'python-setuptools'
-)
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/a/acme/acme-$pkgver.tar.gz")
-sha512sums=('a7508fb9a71578509925fa5d0ce9994910e9dfbd92c07f25409bc6463bb23693a925a8cb946330c3c187da85dc083c0775193baa1c5ff1327ed8e1541507d877')
-b2sums=('4c7245b41f303d781974e047be916c152ef794796e22075ccaef5622fabce091fc7821f706978b38d315b57a2361dac477009a5e4c54e6bc8a034de681f5266a')
-
-build() {
- cd "acme-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "acme-$pkgver"
- python -m pytest
-}
-
-package() {
- cd "acme-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-acme/repos/community-any/PKGBUILD (from rev 1170992, python-acme/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-23 00:20:44 UTC (rev 1170993)
@@ -0,0 +1,62 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=python-acme
+pkgver=1.25.0
+pkgrel=2
+pkgdesc="ACME protocol implementation in Python"
+arch=('any')
+license=('Apache')
+url="https://github.com/certbot/certbot"
+depends=(
+ 'python-cryptography'
+ 'python-josepy'
+ 'python-pyopenssl'
+ 'python-pyrfc3339'
+ 'python-pytz'
+ 'python-requests'
+ 'python-requests-toolbelt'
+)
+makedepends=(
+ 'python-setuptools'
+ 'python-sphinx'
+ 'python-sphinx_rtd_theme'
+)
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/a/acme/acme-$pkgver.tar.gz")
+sha512sums=('a7508fb9a71578509925fa5d0ce9994910e9dfbd92c07f25409bc6463bb23693a925a8cb946330c3c187da85dc083c0775193baa1c5ff1327ed8e1541507d877')
+b2sums=('4c7245b41f303d781974e047be916c152ef794796e22075ccaef5622fabce091fc7821f706978b38d315b57a2361dac477009a5e4c54e6bc8a034de681f5266a')
+
+prepare() {
+ cd "acme-$pkgver"
+
+ # nuke setuptools from orbit ^W install_requires
+ sed \
+ -e '/setuptools>=/d' \
+ -i setup.py
+}
+
+build() {
+ cd "acme-$pkgver"
+
+ python setup.py build
+
+ # create man page
+ make -C docs man
+}
+
+check() {
+ cd "acme-$pkgver"
+
+ python -m pytest
+}
+
+package() {
+ cd "acme-$pkgver"
+
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ # man pages
+ install -vDm644 -t "$pkgdir/usr/share/man/man1" docs/_build/man/*.1
+}
More information about the arch-commits
mailing list