2024-07-16 13:53:21 +02:00
|
|
|
pkgname=osc
|
2024-08-31 11:17:32 +02:00
|
|
|
pkgver=1.9.1
|
2024-07-16 13:53:21 +02:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Command-line client for the Open Build Service"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://www.github.com/openSUSE/osc"
|
|
|
|
license=('GPL-2.0+' 'GPL-2.0')
|
|
|
|
groups=('base-devel')
|
|
|
|
depends=('python-cryptography' 'python-urllib3')
|
|
|
|
makedepends=('python>=3.6' 'python-cryptography' 'python-setuptools' 'python-urllib3')
|
|
|
|
source=(osc-${pkgver}.tar.gz)
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}"/osc-${pkgver}
|
|
|
|
python setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
msg "Installing osc ..."
|
|
|
|
cd "${srcdir}"/osc-${pkgver}
|
|
|
|
python setup.py install --root="${pkgdir}/" --optimize=1 --prefix=/usr
|
|
|
|
}
|