Date: Thursday, February 17, 2022 @ 01:01:45 Author: felixonmars Revision: 1133631
archrelease: copy trunk to community-any Added: dns-lexicon/repos/community-any/PKGBUILD (from rev 1133630, dns-lexicon/trunk/PKGBUILD) Deleted: dns-lexicon/repos/community-any/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-17 01:01:37 UTC (rev 1133630) +++ PKGBUILD 2022-02-17 01:01:45 UTC (rev 1133631) @@ -1,52 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=dns-lexicon -pkgver=3.9.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') -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') - # 'python-oci: for Oracle Cloud Infrastructure (OCI) 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=('4bc26018e0702345e86fa352eddff89358b34e878864e6273e89798cce81c4ef9e4ff06a1298481c8496237bb26d8d7c3286c82aac99117a49faa64ea329c307') - -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 --deselect lexicon/tests/providers/test_oci.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 1133630, dns-lexicon/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-17 01:01:45 UTC (rev 1133631) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=dns-lexicon +pkgver=3.9.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') +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') + # 'python-oci: for Oracle Cloud Infrastructure (OCI) 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=('1b280709c868d400ddf8194cd15f96d2aed5cdb5c9609a96e2916b369227048167f4a627f8918ec31797ab0f6693190a84684e1fcae16ec48729287fcae9206c') + +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_oci.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: