1
0
forked from pool/osc
osc-fork/PKGBUILD
Marco Strigl 95a6683f8e - 0.165.2 (boo#1140697)
* support different token operations (runservice, release and rebuild) (requires OBS 2.10)
    * fix osc token decode error
    * offline build mode is now really offline and does not try to download the buildconfig
    * osc build -define now works with python3
    * some spelling fixes
    * properly parse the error message on osc meta -e
    * osc maintainer -s now works with python3
    * simplified and fixed osc meta -e
    * osc lbl now works with non utf8 encoding (boo#1129889)
    * add simpleimage as local build type

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=293
2019-07-08 11:25:49 +00:00

20 lines
490 B
Bash

pkgname=osc
pkgver=0.165.2
pkgrel=0
pkgdesc="Open Build Service client"
arch=('i686' 'x86_64')
url="https://www.github.com/openSUSE/osc"
license=('GPL-2.0+' 'GPL-2.0')
groups=('base-devel')
depends=('python2' 'python2-m2crypto' 'urlgrabber')
source=(osc-${pkgver}.tar.gz)
md5sums=('SKIP')
package() {
msg "Installing osc ..."
cd "${srcdir}"/osc-${pkgver}
python2 setup.py build
python2 setup.py install --prefix=/usr --root=${pkgdir}
ln -s osc-wrapper.py ${pkgdir}/usr/bin/osc
}