certbot: correct dependencies, remove tests

This commit is contained in:
Đoàn Trần Công Danh 2019-12-31 08:30:37 +07:00 committed by Helmut Pozimski
parent a8859ee7af
commit 4b43717e80
2 changed files with 21 additions and 6 deletions

View 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',

View file

@ -1,18 +1,23 @@
# Template file for 'certbot'
pkgname=certbot
version=1.0.0
revision=2
revision=3
archs=noarch
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3 python3-acme python3-ConfigArgParse python3-configobj
python3-cryptography python3-josepy python3-pyrfc3339 python3-pytz
python3-zope.component python3-zope.interface python3-parsedatetime
python3-zope.hookable python3-mock python3-zope.deferredimport
python3-zope.deprecation"
depends="python3-acme python3-ConfigArgParse python3-configobj
python3-cryptography python3-distro python3-josepy python3-parsedatetime
python3-pyrfc3339 python3-pytz python3-setuptools
python3-zope.component python3-zope.interface"
checkdepends="$depends python3-py python3-pluggy python3-wcwidth
python3-more-itertools python3-pytest"
short_desc="Let's Encrypt certificate renewal automation utility"
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
license="Apache-2.0"
homepage="https://certbot.eff.org/"
distfiles="${PYPI_SITE}/c/certbot/certbot-${version}.tar.gz"
checksum=86b82d31db19fffffb0d6b218951e2121ef514e3ff659aa042deaf92a33e302a
post_install() {
rm -rf ${DESTDIR}/${py3_sitelib}/certbot/tests
}