1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-12-29 10:31:49 +01:00

setup: update dependencies and requirements

This commit is contained in:
Kishi85 2019-04-03 17:22:02 +02:00
parent 4510aaf393
commit b86d8b6e0a
4 changed files with 17 additions and 10 deletions

View File

@ -12,8 +12,7 @@ Requirements
------------
* Python (2.7+ and 3.5+ should work)
* cryptography
* six (already a dependency of cryptography, for compatibility with Python 2.7)
* cryptography (includes the required six and optional idna module)
Optional packages (required to use specified features)
------------------------------------------------------
@ -21,6 +20,7 @@ Optional packages (required to use specified features)
* PyYAML: to parse YAML-formatted configuration files
* dnspython: used by dns.* challenge handlers
* idna: to allow automatic conversion of unicode domain names to their IDNA2008 counterparts
* cryptography>=2.1: for creating certificates with the OCSP must-staple flag (cert_must_staple)
Setup
-----

View File

@ -7,9 +7,11 @@ arch=('any')
url='https://github.com/moepman/acertmgr'
license=('ISC')
depends=('python-cryptography')
optdepends=('yaml: python-yaml'
'idna: python-idna'
'dns.nsupdate: python-dnspython')
optdepends=('python-yaml: Support config files in YAML format'
'python-idna: Support conversion of unicode domains'
'python-dnspython: Support for dns challenge handlers'
'python-cryptography>=2.1: Support for the OCSP must-staple flag'
)
makedepends=('git')
conflicts=('python-acertmgr')
provides=('python-acertmgr')

View File

@ -7,9 +7,11 @@ arch=('any')
url='https://github.com/moepman/acertmgr'
license=('ISC')
depends=('python2-cryptography')
optdepends=('yaml: python2-yaml'
'idna: python2-idna'
'dns.nsupdate: python2-dnspython')
optdepends=('python2-yaml: Support config files in YAML format'
'python2-idna: Support conversion of unicode domains'
'python2-dnspython: Support for dns challenge handlers'
'python2-cryptography>=2.1: Support for the OCSP must-staple flag'
)
makedepends=('git')
conflicts=('python-acertmgr')
provides=('python-acertmgr')
@ -29,4 +31,4 @@ build() {
package() {
cd $_pkgname
python2 setup.py install --root=${pkgdir} --optimize=1
}
}

View File

@ -69,7 +69,7 @@ setup(
"six",
],
extras_require={
"dns.nsupdate": [
"dns": [
"dnspython",
],
"yaml": [
@ -78,6 +78,9 @@ setup(
"idna": [
"idna",
],
"ocsp-must-staple": [
"cryptography>=2.1",
],
},
entry_points={
'console_scripts': [