Date: Saturday, August 29, 2020 @ 01:12:24 Author: felixonmars Revision: 691396
archrelease: copy trunk to community-any Added: dns-lexicon/repos/community-any/PKGBUILD (from rev 691395, dns-lexicon/trunk/PKGBUILD) Deleted: dns-lexicon/repos/community-any/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-29 01:12:08 UTC (rev 691395) +++ PKGBUILD 2020-08-29 01:12:24 UTC (rev 691396) @@ -1,51 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=dns-lexicon -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-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-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") -sha512sums=('cb6966c76d73fb006a5d16d922a8143bff45bd265e3a2f8058877ec08d54eb6e3a40e26ff5af07a2cbfed6fcff00bae8330bd60ef467972f3e7925dbeb450352') - -prepare() { - cd lexicon-$pkgver - - # 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() { - cd lexicon-$pkgver - python setup.py build -} - -check() { - cd lexicon-$pkgver - python setup.py pytest --addopts '--deselect lexicon/tests/providers/test_transip.py' -} - -package() { - cd lexicon-$pkgver - python setup.py install -O1 --prefix=/usr --root="$pkgdir" - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: dns-lexicon/repos/community-any/PKGBUILD (from rev 691395, dns-lexicon/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-29 01:12:24 UTC (rev 691396) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=dns-lexicon +pkgver=3.4.1 +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-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-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") +sha512sums=('cb3acef26d8e8f48cae5d41a7bc79b4a50a229a65f90ef9a2be30c40fcf94b754bab81a60a64c6fcb2bdbd5aea730411fd49079b8282a3c389ca029ca82fac36') + +prepare() { + cd lexicon-$pkgver + + # 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() { + cd lexicon-$pkgver + python setup.py build +} + +check() { + cd lexicon-$pkgver + python setup.py pytest --addopts '--deselect lexicon/tests/providers/test_transip.py' +} + +package() { + cd lexicon-$pkgver + python setup.py install -O1 --prefix=/usr --root="$pkgdir" + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: