Package Details: osc 1.11.1-1

Git Clone URL: https://aur.archlinux.org/osc.git (read-only, click to copy)
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: 53
Popularity: 1.12
First Submitted: 2008-04-05 17:38 (UTC)
Last Updated: 2025-04-08 20:24 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

post-factum commented on 2019-06-13 17:37 (UTC)

v0.165.1 fixes the issue with the progress bar. Thanks.

nicoulaj commented on 2019-05-10 18:58 (UTC)

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

post-factum commented on 2019-05-02 22:56 (UTC) (edited on 2019-05-02 22:57 (UTC) by post-factum)

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 (UTC)

fixed, the issue was the mising optdepend.

post-factum commented on 2019-05-02 19:47 (UTC)

No more progress bar after transitioning to py3…

z3ntu commented on 2019-04-18 17:38 (UTC)

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 (UTC)

Should also depend on python2-progressbar.

UnicornDarkness commented on 2019-01-13 16:17 (UTC)

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

UnicornDarkness commented on 2019-01-13 16:12 (UTC)

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