[arch-commits] Commit in dns-lexicon/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Aug 1 07:41:17 UTC 2022
Date: Monday, August 1, 2022 @ 07:41:17
Author: arojas
Revision: 1259590
upgpkg: dns-lexicon 3.11.3-1: Update to 3.11.3, drop dephell usage
Modified:
dns-lexicon/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++---------------
1 file changed, 6 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-01 07:37:05 UTC (rev 1259589)
+++ PKGBUILD 2022-08-01 07:41:17 UTC (rev 1259590)
@@ -1,7 +1,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=dns-lexicon
-pkgver=3.9.2
+pkgver=3.11.3
pkgrel=1
pkgdesc="Manipulate DNS records on various DNS providers in a standardized/agnostic way"
arch=('any')
@@ -9,7 +9,7 @@
license=('MIT')
depends=('python-beautifulsoup4' 'python-cryptography' 'python-future' 'python-yaml'
'python-requests' 'python-tldextract')
-makedepends=('python-dephell')
+makedepends=('python-build' 'python-installer' 'python-poetry')
optdepends=('python-pynamecheap: for Namecheap support'
'python-boto3: for Route53 support'
'python-softlayer: for SoftLayer support'
@@ -21,30 +21,21 @@
'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=('f4052e2837ee43ce8aaadc9e5adbb522f2a9035a5d1813b35c3bd84fb651e10a42594529328d12153d086f2b8d84bb35eb4af2425010df4e8784f4972de00027')
+sha512sums=('770a3c052ecc26fb3a27ac49b8f14132b69ea6ca9dfc93caea1ac66c4e6a458e6484b8a8ab921eea97761216fa34d8ad0d95964cdcff30a5713de7189c1e987d')
-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
+ python -m build --wheel --no-isolation
}
check() {
cd lexicon-$pkgver
- python setup.py pytest --addopts '--deselect lexicon/tests/providers/test_oci.py'
+ pytest --deselect lexicon/tests/providers/test_oci.py
}
package() {
cd lexicon-$pkgver
- python setup.py install -O1 --prefix=/usr --root="$pkgdir"
+ python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list