osc/PKGBUILD
Daniel Mach 3d37202c66 Accepting request 1184850 from home:dmach:branches:openSUSE:Tools
- 1.8.2
  - Library:
    - Change 'repairwc' command to fix missing .osc/_osclib_version
    - Make error message in check_store_version() more generic to work for both projects and packages
    - Fix check_store_version in project store

OBS-URL: https://build.opensuse.org/request/show/1184850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=445
2024-07-02 12:02:43 +00:00

24 lines
630 B
Bash

pkgname=osc
pkgver=1.8.2
pkgrel=63005f5c57b69f5389cabb6ca5a033ed
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
}