osc/PKGBUILD
Dirk Mueller 3c4c771ba7 Accepting request 1072314 from home:dmach:branches:openSUSE:Tools
- Update to 1.0.0
- Drop debian changelog entries because they weren't updated for a long time without anybody noticing
- Simplify _service

OBS-URL: https://build.opensuse.org/request/show/1072314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=386
2023-03-16 10:15:19 +00:00

24 lines
599 B
Bash

pkgname=osc
pkgver=1.0.0
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
}