upgpkg: python-libthumbor 2.0.2-1
upstream release
This commit is contained in:
@@ -1,15 +1,16 @@
|
|||||||
pkgbase = python-libthumbor
|
pkgbase = python-libthumbor
|
||||||
pkgdesc = Python's extensions to thumbor
|
pkgdesc = Python's extensions to thumbor
|
||||||
pkgver = 2.0.1
|
pkgver = 2.0.2
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/thumbor/libthumbor
|
url = https://github.com/thumbor/libthumbor
|
||||||
arch = any
|
arch = any
|
||||||
license = MIT
|
license = MIT
|
||||||
makedepends = python-setuptools
|
makedepends = python-build
|
||||||
makedepends = python-dephell
|
makedepends = python-installer
|
||||||
|
makedepends = python-poetry
|
||||||
|
makedepends = python-poetry-core
|
||||||
depends = python
|
depends = python
|
||||||
source = https://github.com/thumbor/libthumbor/archive/2.0.1.tar.gz
|
source = https://github.com/thumbor/libthumbor/archive/2.0.2.tar.gz
|
||||||
b2sums = 79bf3f48db8eef6f2eb19aae1b66484651b4a15a68bfd8ae310653a256f5a4e16009fcaa87d1ab98178f5cdeeaa1d16b5f04107b369481942d4411be589b1ce7
|
b2sums = 7682aeff1b7ea0cb026d08c16e73ffed2f3b9d59aa2329ca7d3fcb910860c9f495de53cfb17b651402af5e7166043634c1df334b8a8cc2c912a352b9e36157a1
|
||||||
|
|
||||||
pkgname = python-libthumbor
|
pkgname = python-libthumbor
|
||||||
|
|
||||||
|
@@ -2,29 +2,24 @@
|
|||||||
|
|
||||||
pkgname=python-libthumbor
|
pkgname=python-libthumbor
|
||||||
_name=${pkgname#python-}
|
_name=${pkgname#python-}
|
||||||
pkgver=2.0.1
|
pkgver=2.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Python's extensions to thumbor"
|
pkgdesc="Python's extensions to thumbor"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://github.com/thumbor/libthumbor"
|
url="https://github.com/thumbor/libthumbor"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=(python)
|
depends=(python)
|
||||||
makedepends=(python-setuptools python-dephell)
|
makedepends=(python-build python-installer python-poetry python-poetry-core)
|
||||||
source=("https://github.com/thumbor/libthumbor/archive/$pkgver.tar.gz")
|
source=("https://github.com/thumbor/libthumbor/archive/$pkgver.tar.gz")
|
||||||
b2sums=('79bf3f48db8eef6f2eb19aae1b66484651b4a15a68bfd8ae310653a256f5a4e16009fcaa87d1ab98178f5cdeeaa1d16b5f04107b369481942d4411be589b1ce7')
|
b2sums=('7682aeff1b7ea0cb026d08c16e73ffed2f3b9d59aa2329ca7d3fcb910860c9f495de53cfb17b651402af5e7166043634c1df334b8a8cc2c912a352b9e36157a1')
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "$_name-$pkgver"
|
|
||||||
dephell deps convert --from pyproject.toml --to setup.py
|
|
||||||
}
|
|
||||||
|
|
||||||
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 --skip-build
|
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