mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
certbot: correct dependencies, remove tests
This commit is contained in:
parent
a8859ee7af
commit
4b43717e80
2 changed files with 21 additions and 6 deletions
10
srcpkgs/certbot/patches/remove-mock.patch
Normal file
10
srcpkgs/certbot/patches/remove-mock.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- setup.py
|
||||||
|
+++ setup.py
|
||||||
|
@@ -45,7 +45,6 @@
|
||||||
|
# 1.1.0+ is required to avoid the warnings described at
|
||||||
|
# https://github.com/certbot/josepy/issues/13.
|
||||||
|
'josepy>=1.1.0',
|
||||||
|
- 'mock',
|
||||||
|
'parsedatetime>=1.3', # Calendar.parseDT
|
||||||
|
'pyrfc3339',
|
||||||
|
'pytz',
|
|
@ -1,18 +1,23 @@
|
||||||
# Template file for 'certbot'
|
# Template file for 'certbot'
|
||||||
pkgname=certbot
|
pkgname=certbot
|
||||||
version=1.0.0
|
version=1.0.0
|
||||||
revision=2
|
revision=3
|
||||||
archs=noarch
|
archs=noarch
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3 python3-acme python3-ConfigArgParse python3-configobj
|
depends="python3-acme python3-ConfigArgParse python3-configobj
|
||||||
python3-cryptography python3-josepy python3-pyrfc3339 python3-pytz
|
python3-cryptography python3-distro python3-josepy python3-parsedatetime
|
||||||
python3-zope.component python3-zope.interface python3-parsedatetime
|
python3-pyrfc3339 python3-pytz python3-setuptools
|
||||||
python3-zope.hookable python3-mock python3-zope.deferredimport
|
python3-zope.component python3-zope.interface"
|
||||||
python3-zope.deprecation"
|
checkdepends="$depends python3-py python3-pluggy python3-wcwidth
|
||||||
|
python3-more-itertools python3-pytest"
|
||||||
short_desc="Let's Encrypt certificate renewal automation utility"
|
short_desc="Let's Encrypt certificate renewal automation utility"
|
||||||
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
|
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://certbot.eff.org/"
|
homepage="https://certbot.eff.org/"
|
||||||
distfiles="${PYPI_SITE}/c/certbot/certbot-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/c/certbot/certbot-${version}.tar.gz"
|
||||||
checksum=86b82d31db19fffffb0d6b218951e2121ef514e3ff659aa042deaf92a33e302a
|
checksum=86b82d31db19fffffb0d6b218951e2121ef514e3ff659aa042deaf92a33e302a
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -rf ${DESTDIR}/${py3_sitelib}/certbot/tests
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue