Package Details: osc 1.6.2-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: 51
Popularity: 0.125886
First Submitted: 2008-04-05 17:38 (UTC)
Last Updated: 2024-04-29 22:14 (UTC)

Latest Comments

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

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.

Thaodan commented on 2019-01-13 12:09 (UTC)

sorry for the delay lost track of it.

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

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

nicoulaj commented on 2018-12-08 17:08 (UTC)

Here is a patch for 0.163:

diff --git a/.SRCINFO b/.SRCINFO
index [`40bec84`](https://aur.archlinux.org/cgit/aur.git/commit/?h=osc&id=40bec84)..693f68e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Sun May 13 22:13:06 UTC 2018
 pkgbase = osc
        pkgdesc = Command line client for the openSUSE Build Service
-       pkgver = 0.162.1
-       pkgrel = 2
+       pkgver = 0.163.0
+       pkgrel = 1
        url = <https://github.com/openSUSE/osc>
        arch = any
        license = GPL2
@@ -20,12 +18,10 @@ pkgbase = osc
        conflicts = zsh-completion-osc
        replaces = osc-bash-completion
        replaces = zsh-completion-osc
-       source = <https://github.com/openSUSE/osc/archive/0.162.1.tar.gz>
+       source = <https://github.com/openSUSE/osc/archive/0.163.0.tar.gz>
        source = _osc
-       source = 0001-Disable-ssl-session-resumption.patch
-       sha256sums = 529d627bf10117f43f52f6e6db09e9663474ae984b7be93cae9a686b52bd932c
+       sha256sums = 3d994350fe55f00c1819c669f11ab633b19df22a4bd55c3e5ef08364e600823d
        sha256sums = 2b045e03d2fdce12683ceb9792d491a32f00b256045456412e7bc18c8726218a
-       sha256sums = 7f01860ac98f5b817ff4d835f60fc940300b5d9b83629a6e9950ed7e6ddb087f

 pkgname = osc

diff --git a/PKGBUILD b/PKGBUILD
index [`8057126`](https://aur.archlinux.org/cgit/aur.git/commit/?h=osc&id=8057126)..a724a3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,10 +4,11 @@
 # Contributor : Jesse Jaara      <gmail.com, mail.ru: jesse.jaara>
 # Contributor : Armin Wehrfritz
 # Contributor : Patrick McCarty  <pnorcks at gmail dot com>
+# Contributor : Julien Nicoulaud <julien dot nicoulaud at gmail dot com>

 pkgname=osc
-pkgver=0.162.1
-pkgrel=2
+pkgver=0.163.0
+pkgrel=1
 pkgdesc="Command line client for the openSUSE Build Service"
 arch=(any)
 url="<https://github.com/openSUSE/osc>"
@@ -24,17 +25,13 @@ optdepends=('obs-build: required to run local builds'
 conflicts=('osc-git' 'osc-bash-completion' 'zsh-completion-osc')
 replaces=('osc-bash-completion' 'zsh-completion-osc')
 source=("<https://github.com/openSUSE/>${pkgname}/archive/${pkgver}.tar.gz"
-        "_osc"
-       '0001-Disable-ssl-session-resumption.patch' )
-sha256sums=('529d627bf10117f43f52f6e6db09e9663474ae984b7be93cae9a686b52bd932c'
-            '2b045e03d2fdce12683ceb9792d491a32f00b256045456412e7bc18c8726218a'
-            '7f01860ac98f5b817ff4d835f60fc940300b5d9b83629a6e9950ed7e6ddb087f')
+        "_osc" )
+sha256sums=('3d994350fe55f00c1819c669f11ab633b19df22a4bd55c3e5ef08364e600823d'
+            '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}"
-  patch -Np1 -i "${srcdir}"/0001-Disable-ssl-session-resumption.patch 
 }

 build() {

Can you please apply it, disown package or add me as comaintainer ?

Thanks

post-factum commented on 2018-05-08 12:55 (UTC)

https://github.com/openSUSE/osc/commit/b730f880cfe85a8547f569355a21706f27ebfa78