1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-12-29 11: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) * Python (2.7+ and 3.5+ should work)
* cryptography * cryptography (includes the required six and optional idna module)
* six (already a dependency of cryptography, for compatibility with Python 2.7)
Optional packages (required to use specified features) 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 * PyYAML: to parse YAML-formatted configuration files
* dnspython: used by dns.* challenge handlers * dnspython: used by dns.* challenge handlers
* idna: to allow automatic conversion of unicode domain names to their IDNA2008 counterparts * 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 Setup
----- -----

View File

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

View File

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

View File

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