Daniel Mach
d096c8b1f4
- 1.3.1 - Command-line: - Fix string + int concatenation errors in 'build' command by using f-strings instead - Fix '--all' option in 'rebuild' command - Fix 'build' command when '--alternative-project' option is specified and the git branch cannot be mapped to a project - Stop suggesting that the working directory is git/mercurial/svn/cvs - Be helpful in deprecating commands - Configuration: - Add more config options among integer options - Library: - Fix GitStore to error out properly if there is no 'origin' remote in the git repo - print_buildlog: Remove control characters from build log before printing (CVE-2012-1095) OBS-URL: https://build.opensuse.org/request/show/1106804 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=408
24 lines
599 B
Bash
24 lines
599 B
Bash
pkgname=osc
|
|
pkgver=1.3.1
|
|
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
|
|
}
|