Package Details: osc 0.165.0-2

Git Clone URL: https://aur.archlinux.org/osc.git (read-only)
Package Base: osc
Description: Command line client for the openSUSE Build Service
Upstream URL: https://github.com/openSUSE/osc
Licenses: GPL2
Conflicts: osc-bash-completion, osc-git, zsh-completion-osc
Replaces: osc-bash-completion, zsh-completion-osc
Submitter: bwalle
Maintainer: Thaodan
Last Packager: Thaodan
Votes: 41
Popularity: 0.216719
First Submitted: 2008-04-05 17:38
Last Updated: 2019-05-02 19:56

Dependencies (7)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

nicoulaj commented on 2019-05-10 18:58

The package is missing a python-setuptools dependency, can you please add it ?

post-factum commented on 2019-05-02 22:56

Not really… is it even working for you? I tried installing this optdep, and it changed nothing. No progress bar is shown.

Thaodan commented on 2019-05-02 20:00

fixed, the issue was the mising optdepend.

post-factum commented on 2019-05-02 19:47

No more progress bar after transitioning to py3…

z3ntu commented on 2019-04-18 17:38

I propose this diff to update to 0.165.0:

diff --git a/PKGBUILD b/PKGBUILD
index 1f53ab5..4a0a76c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,46 +6,42 @@
 # Contributor : Patrick McCarty  <pnorcks at gmail dot com>

 pkgname=osc
-pkgver=0.164.2
+pkgver=0.165.0
 pkgrel=1
 pkgdesc="Command line client for the openSUSE Build Service"
 arch=(any)
 url="https://github.com/openSUSE/osc"
 license=('GPL2')
-depends=('python2'
-         'python2-m2crypto'
-         'python2-typing'
-         'urlgrabber')
+depends=('python'
+         'python-m2crypto')
+makedepends=('python-setuptools')
 optdepends=('obs-build: required to run local builds'
             'obs-service-format_spec_file: for running the format_spec_file source service'
             'obs-service-download_files: for running the download_files source service'
             'python-keyring: keyring support'
             )
-conflicts=('osc-git' 'osc-bash-completion' 'zsh-completion-osc')
+conflicts=('osc-bash-completion' 'zsh-completion-osc')
 replaces=('osc-bash-completion' 'zsh-completion-osc')
 source=("https://github.com/openSUSE/${pkgname}/archive/${pkgver}.tar.gz"
         "_osc")
-sha256sums=('b2050735311278c011ff194bf78b389eef469ad918ac02fc5b520d2882b71ad4'
+sha256sums=('5595ecd326976549d597953804c630b3d93e538a6b3747aa3b8b5a095d321f71'
             '2b045e03d2fdce12683ceb9792d491a32f00b256045456412e7bc18c8726218a')

 prepare() {
   # Add 'Arch_Core' and 'Arch_Extra' as osc build targets
   sed -i "s|SLE_11_SP2|SLE_11_SP2 Arch_Core Arch_Extra|" _osc
-  cd "${srcdir}/${pkgname}-${pkgver}"
 }

 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  python2 setup.py build
+  python setup.py build
 }

 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  python2 setup.py install --root="${pkgdir}/" --optimize=1 --prefix=/usr
+  python setup.py install --root="${pkgdir}/" --optimize=1 --prefix=/usr

-  cd "${pkgdir}/usr/bin"
-  ln -s osc-wrapper.py osc
-  cd -
+  ln -s osc-wrapper.py "${pkgdir}/usr/bin/osc"

   install -Dm644 dist/complete.sh "${pkgdir}/usr/share/bash-completion/completions/osc"
   install -Dm755 dist/osc.complete "${pkgdir}/usr/lib/osc/complete"

post-factum commented on 2019-01-19 10:57

Should also depend on python2-progressbar.

Xorg commented on 2019-01-13 16:17

@Thaodan: By the way, python-keyring in optdepends is incorrect. osc is a Python 2 script, so it should be python2-keyring instead.

Xorg commented on 2019-01-13 16:12

@Thaodan: Thank you. You can reject my orphan request.

Thaodan commented on 2019-01-13 12:09

sorry for the delay lost track of it.

Xorg commented on 2019-01-13 12:06

Updated PKGBUILD for v0.164.0: https://gist.githubusercontent.com/X0rg/c90e25f0ae2e9cc7f1a8a07f4ad52767/raw/d0817b53ecdc5ac8549e97f477a3940f7a5cfbe6/osc-0.164.0