Date: Monday, August 17, 2020 @ 05:17:08 Author: felixonmars Revision: 682119
upgpkg: dns-lexicon 3.4.0-1 Modified: dns-lexicon/trunk/PKGBUILD ----------+ PKGBUILD | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-08-17 05:16:50 UTC (rev 682118) +++ PKGBUILD 2020-08-17 05:17:08 UTC (rev 682119) @@ -1,34 +1,34 @@ # Maintainer: Felix Yan <[email protected]> pkgname=dns-lexicon -pkgver=3.3.28 -pkgrel=2 +pkgver=3.4.0 +pkgrel=1 pkgdesc="Manipulate DNS records on various DNS providers in a standardized/agnostic way" arch=('any') url="https://github.com/AnalogJ/lexicon" license=('MIT') -depends=('python-beautifulsoup4' 'python-cryptography' 'python-future' 'python-setuptools' - 'python-tldextract' 'python-yaml' 'python-zeep' - # requests[security] Expanded: - 'python-requests' 'python-pyopenssl') +depends=('python-beautifulsoup4' 'python-cryptography' 'python-future' 'python-yaml' + 'python-requests' 'python-tldextract' 'python-setuptools') +makedepends=('python-dephell') optdepends=('python-pynamecheap: for Namecheap support' 'python-boto3: for Route53 support' 'python-softlayer: for SoftLayer support' 'python-xmltodict: for Plesk support' - 'python-localzone: for localzone support') + 'python-localzone: for localzone support' + 'python-zeep: for Gransy support') checkdepends=('python-pytest-runner' 'python-vcrpy' 'python-softlayer' 'python-boto3' 'python-mock' 'python-pynamecheap' 'python-zeep' 'python-xmltodict' 'python-beautifulsoup4' 'python-localzone' 'python-html5lib' 'python-dnspython' 'bind-tools') -source=("https://github.com/AnalogJ/lexicon/archive/v$pkgver/$pkgname-$pkgver.tar.gz" - $pkgname-dependency-fix.patch::https://github.com/AnalogJ/lexicon/commit/f805aa3a660e72040c91bcd734612c37a6493e49.patch) -sha512sums=('17890696d495a5656e994965ea3f0a45debed2ac87a2c5b6ad010a23a795c51fd391ba40842e47c1af1823b4f24693bbfd91ae3fa2f62a94d127c16ce486de45' - '3370c6896ee5b228c35b9fc2aef20a5006620cc579dcbe2212091ac3960d7240555bb06e2f4da05728a71a27a679609cce28827d4a02131d3cb9c2a4c045d6e0') +source=("https://github.com/AnalogJ/lexicon/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('cb6966c76d73fb006a5d16d922a8143bff45bd265e3a2f8058877ec08d54eb6e3a40e26ff5af07a2cbfed6fcff00bae8330bd60ef467972f3e7925dbeb450352') prepare() { cd lexicon-$pkgver - # recent commits are quite broken - patch -p1 -i ../$pkgname-dependency-fix.patch - sed -i 's/from bs4 import BeautifulSoup/from bs4 import BeautifulSoup, Tag/' lexicon/providers/easyname.py + + # poetry-generated setup.py is badly broken in several ways, including + # distribution of tests in the built package as well as using distutils for + # bad metadata. See https://github.com/sdispater/poetry/issues/866 + dephell deps convert --from pyproject.toml --to setup.py } build() { @@ -38,7 +38,7 @@ check() { cd lexicon-$pkgver - python setup.py pytest --addopts '--ignore lexicon/tests/providers/test_transip.py' + python setup.py pytest --addopts '--deselect lexicon/tests/providers/test_transip.py' } package() {
