Marco Strigl
9948d352f9
* improve speed and usability of osc bash completion * switch packagequery.py to return only bytes * improved some error messages * osc add: support git@ (private github) or git:// URLs correctly * split dependson and whatdependson commands * support for osc build --shell-cmd * Fix kiwi build with --prefer-pkgs * add pkg-ccache support for osc build * fix security issue (bsc#1122675, CVE-2019-3681) do not allow '/' in filename OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=335
25 lines
551 B
Bash
25 lines
551 B
Bash
pkgname=osc
|
|
pkgver=0.169.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
|
|
}
|