Daniel Mach
71243cb9f2
- 0.180.0 - warn when trying to commit a prj/pac managed in scm - fix crash on "osc up" for git based package/projects - don't traceback on invalid credentials manager - improve README, rename it to README.md - declare OscHTTPSignatureAuthHandler as a new-style class - remove illegal character in comment OBS-URL: https://build.opensuse.org/request/show/984911 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=364
25 lines
551 B
Bash
25 lines
551 B
Bash
pkgname=osc
|
|
pkgver=0.180.0
|
|
pkgrel=0
|
|
pkgdesc="Open Build Service client"
|
|
arch=('x86_64')
|
|
url="https://www.github.com/openSUSE/osc"
|
|
license=('GPL-2.0+' 'GPL-2.0')
|
|
groups=('base-devel')
|
|
depends=('python-m2crypto')
|
|
makedepends=('python-setuptools')
|
|
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
|
|
ln -s osc-wrapper.py ${pkgdir}/usr/bin/osc
|
|
}
|