41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=python-packaging
|
|
pkgver=21.3
|
|
pkgrel=01
|
|
pkgdesc="Core utilities for Python packages"
|
|
arch=('any')
|
|
url="https://github.com/pypa/packaging"
|
|
depends=('python-pyparsing')
|
|
makedepends=('python-setuptools')
|
|
checkdepends=('python-pytest' 'python-pretend')
|
|
source=("https://github.com/pypa/packaging/archive/$pkgver/$pkgname-$pkgver.tar.gz")
|
|
|
|
build() {
|
|
cd packaging-$pkgver
|
|
python setup.py build
|
|
}
|
|
|
|
check() {
|
|
cd packaging-$pkgver
|
|
python -m pytest
|
|
}
|
|
|
|
package() {
|
|
cd packaging-$pkgver
|
|
python setup.py install --root="$pkgdir" --optimize=1
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('Apache')
|
|
|
|
sha512sums=('8960deacda26877b73d98a3b632e760e902a16ec7a04707f84044980e4d4fb33e4f584db115c9008066aa876079f28633bafe37fbd5ce9a23830b6b89eb4ae7a')
|
|
|
|
sha256sums=(618b3f2c055a0c0b5e072026fabce690fc753d5337d4493f8393f19e038e6308) # python-packaging-21.3.tar.gz
|