Package Details: osc-git 1.1.3.r4474.d089e878-1

Git Clone URL: https://aur.archlinux.org/osc-git.git (read-only, click to copy)
Package Base: osc-git
Description: Command line client for the openSUSE Build Service
Upstream URL: https://github.com/openSUSE/osc
Keywords: OBS
Licenses: GPL2
Conflicts: osc, osc-bash-completion, zsh-completion-osc
Replaces: osc-bash-completion, zsh-completion-osc
Submitter: hexchain
Maintainer: poly000
Last Packager: poly000
Votes: 1
Popularity: 0.000015
First Submitted: 2017-04-08 04:12 (UTC)
Last Updated: 2023-05-11 10:32 (UTC)

Dependencies (12)

Required by (0)

Sources (1)

Latest Comments

youkou commented on 2024-12-20 09:55 (UTC)

Also it seems that this package is missing a python-cryptography dependency now:

Traceback (most recent call last):
  File "/usr/bin/osc", line 33, in <module>
    sys.exit(load_entry_point('osc==1.10.1+29.git.ffca8732', 'console_scripts', 'osc')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/osc", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.12/site-packages/osc/babysitter.py", line 22, in <module>
    from . import core as osc_core
  File "/usr/lib/python3.12/site-packages/osc/core.py", line 50, in <module>
    from .connection import http_request, http_GET, http_POST, http_PUT, http_DELETE
  File "/usr/lib/python3.12/site-packages/osc/connection.py", line 26, in <module>
    from . import oscssl
  File "/usr/lib/python3.12/site-packages/osc/oscssl.py", line 10, in <module>
    from cryptography import x509
ModuleNotFoundError: No module named 'cryptography'

youkou commented on 2024-12-17 10:12 (UTC)

  1. It seems that OSC had already dropped m2crypto dependency (https://github.com/openSUSE/osc/blob/ffca873272b9f74dc7f5d57bc7963901759ed3e3/NEWS#L544), and python-m2crypto in AUR does not even build anymore. Perhaps that dependency can be removed from PKGBUILD?

  2. My build failed with check step with the following message:

==> Starting check()...
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'test'
==> ERROR: A failure occurred in check().
    Aborting...

It seems that setup.py does not have a 'test' command anymore.

z3ntu commented on 2018-05-15 08:34 (UTC)

I've created https://aur.archlinux.org/packages/osc-py3-git/ which is using the python3 branch in the osc repo.

Martchus commented on 2018-04-09 08:00 (UTC)

Has anybody tried building the Python 3 branch? It would require packaging python3-m2crypto first.

It might be worth trying it rather than fixing annoying bugs in the Python 2 version.

hexchain commented on 2017-06-09 16:24 (UTC)

@Martchus: Thanks!

Martchus commented on 2017-06-08 21:09 (UTC) (edited on 2017-06-08 21:22 (UTC) by Martchus)

The git must be a make dependency. Also, the directory of the sources is "${srcdir}/${pkgname%-git}".