Dirk Mueller
a7c877fb51
- 1.2.0 - Command-line: - Add 'repo' command and subcommands for managing repositories in project meta - Extend 'browse' command to open requests in a web browser - Add highlighting for 'osc diff' and similar commands - Fix 'api' command to stream output to avoid running out of memory - Fix printing utf-8 characters to stdout - Connection: - Fix ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled - Authentication: - Correctly handle passwords with utf-8 characters - Library: - Fix crash when submiting a SCM package which has no _link - Fix local service execution of scmsync packages - Detect target package by its full name, instead of assuming its origin is identical to the source package type - Other: - Spell openSUSE correctly OBS-URL: https://build.opensuse.org/request/show/1098639 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=404
24 lines
599 B
Bash
24 lines
599 B
Bash
pkgname=osc
|
|
pkgver=1.2.0
|
|
pkgrel=0
|
|
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
|
|
}
|