Daniel Mach
977af544fe
- Fix regressions to osc 0.x: - mv: Fix traceback due to missing target file name - rm: Fix creating a Package object by providing multiple files on the command line - copypac: Fix downgrading a package to an old revision - buildhist: Fix running from a package checkout - rebuild: Fix running from a package checkout - rdiff: Fix traceback when new project is not specified - rq list: Fix passing values of the --type option - build: Fix reading extra-pkgs from oscrc - Support withfullhistory in osc.core.get_request_list again - Fix osc.get_request_list ignoring the req_type parameter - Revert "Do not list declined requests by default" - connection: Mute the "Converted retries value" debug message - connection: Fix traceback on loading an invalid cookiejar file - connection: Save cookiejar only when there's a Set-Cookie header in the response - Add oscerr.ProjectError class needed by core.delete_project() - Fix all errors reported by pylint - spec file: - drop upstreamed patches: - 1217.patch - 1228.patch - Recommend python3-distro - needed for setting the default editor by distro OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=382
24 lines
602 B
Bash
24 lines
602 B
Bash
pkgname=osc
|
|
pkgver=1.0.0~b4
|
|
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
|
|
}
|