upgpkg: python-derpconf 0.8.4-2
switched to PEP 517
This commit is contained in:
@@ -1,10 +1,13 @@
|
|||||||
pkgbase = python-derpconf
|
pkgbase = python-derpconf
|
||||||
pkgdesc = abstract loading of configuration files
|
pkgdesc = abstract loading of configuration files
|
||||||
pkgver = 0.8.4
|
pkgver = 0.8.4
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/globocom/derpconf
|
url = https://github.com/globocom/derpconf
|
||||||
arch = any
|
arch = any
|
||||||
license = MIT
|
license = MIT
|
||||||
|
makedepends = python-build
|
||||||
|
makedepends = python-installer
|
||||||
|
makedepends = python-wheel
|
||||||
makedepends = python-setuptools
|
makedepends = python-setuptools
|
||||||
depends = python
|
depends = python
|
||||||
source = https://github.com/globocom/derpconf/archive/0.8.4.tar.gz
|
source = https://github.com/globocom/derpconf/archive/0.8.4.tar.gz
|
||||||
|
@@ -3,24 +3,24 @@
|
|||||||
pkgname=python-derpconf
|
pkgname=python-derpconf
|
||||||
_name=${pkgname#python-}
|
_name=${pkgname#python-}
|
||||||
pkgver=0.8.4
|
pkgver=0.8.4
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="abstract loading of configuration files"
|
pkgdesc="abstract loading of configuration files"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://github.com/globocom/derpconf"
|
url="https://github.com/globocom/derpconf"
|
||||||
license=(MIT)
|
license=(MIT)
|
||||||
depends=(python)
|
depends=(python)
|
||||||
makedepends=(python-setuptools)
|
makedepends=(python-build python-installer python-wheel python-setuptools)
|
||||||
source=("https://github.com/globocom/derpconf/archive/$pkgver.tar.gz")
|
source=("https://github.com/globocom/derpconf/archive/$pkgver.tar.gz")
|
||||||
b2sums=('d0457481147a3ed8fa059f7022fede1577eca70a2818560e662715c58d995bee6a972925b01566d8f564f807ba8885a53a5e162de96f698ef9b7aaeb35f9da3b')
|
b2sums=('d0457481147a3ed8fa059f7022fede1577eca70a2818560e662715c58d995bee6a972925b01566d8f564f807ba8885a53a5e162de96f698ef9b7aaeb35f9da3b')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $_name-$pkgver
|
cd $_name-$pkgver
|
||||||
python setup.py build
|
python -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $_name-$pkgver
|
cd $_name-$pkgver
|
||||||
python setup.py install --root="$pkgdir" --optimize=1
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user