1
0
forked from pool/osc
osc-fork/PKGBUILD
Daniel Mach 56195f3323 Accepting request 980526 from home:dmach:branches:openSUSE:Tools
- 0.179.0
  - signature (ssh key) authetication fixes (RSA key support, skip binary files)
  - commandline: handle calls without arguments gracefully
  - use percent-quoted url for download url generation
  - osc co/up: highlight pending requests' header
  - get_results(): fix check for empty details
  - another exception for github URLs for "osc add"
  - update Sphinx configuration, documentation fixes
  - make Sphinx optional in setup.py not to break package builds
  - support flavors in aggregatepac
  - check if repos provided to aggregatepac command exist
  - several coding style fixes

OBS-URL: https://build.opensuse.org/request/show/980526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=362
2022-06-03 06:13:42 +00:00

25 lines
551 B
Bash

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