Mail archive
alpine-aports

Re: [alpine-aports] [PATCH 2/5] testing/gajim: New aport

From: Leonardo Arena <rnalrd_at_gmail.com>
Date: Fri, 20 Jul 2018 12:34:13 +0200

Hi,

it seems that gettext-dev is missing as mdepends. Even after adding it
fails during tests phase with:

Now running: unit.test_protocol_caps
E
======================================================================
ERROR: test_protocol_caps (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_protocol_caps
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 888, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/unittest/loader.py", line 153, in
loadTestsFromName
    module = __import__(module_name)
  File
"/home/larena/aports/testing/gajim/src/gajim-1.0.3/test/unit/test_protocol_caps.py",
line 7, in <module>
    lib.setup_env()
  File
"/home/larena/aports/testing/gajim/src/gajim-1.0.3/test/lib/__init__.py",
line 55, in setup_env
    from gajim import gtkgui_helpers
  File
"/home/larena/aports/testing/gajim/src/gajim-1.0.3/test/lib/../../gajim/gtkgui_helpers.py",
line 32, in <module>
    from gi.repository import Gtk
  File "/usr/lib/python3.6/site-packages/gi/importer.py", line 127, in
find_module
    'introspection typelib not found' % namespace)
ImportError: cannot import name Gtk, introspection typelib not found


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)

Care to review the patch?

Thanks!

/eo

On Sun, Jul 1, 2018 at 3:55 PM, Marian Buschsieweke <
marian.buschsieweke_at_ovgu.de> wrote:

> https://gajim.org/
> A full featured and easy to use XMPP client
> ---
> testing/gajim/APKBUILD | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
> create mode 100644 testing/gajim/APKBUILD
>
> diff --git a/testing/gajim/APKBUILD b/testing/gajim/APKBUILD
> new file mode 100644
> index 0000000000..7b51e04212
> --- /dev/null
> +++ b/testing/gajim/APKBUILD
> _at__at_ -0,0 +1,29 @@
> +# Maintainer: Marian Buschsieweke <marian.buschsieweke_at_ovgu.de>
> +pkgname=gajim
> +pkgver=1.0.3
> +pkgrel=0
> +pkgdesc="A full featured and easy to use XMPP client"
> +url="https://gajim.org/"
> +arch="noarch"
> +license="GPL3"
> +depends="py3-cairo py3-gobject3 py3-asn1 py3-nbxmpp py3-openssl"
> +makedepends="py-setuptools python3-dev"
> +source="https://$pkgname.org/downloads/1.0/$pkgname-$pkgver.tar.bz2"
> +builddir="$srcdir"/$pkgname-$pkgver
> +
> +build() {
> + cd "$builddir"
> + python3 setup.py build
> +}
> +
> +check() {
> + cd "$builddir"
> + python3 setup.py test
> +}
> +
> +package() {
> + cd "$builddir"
> + python3 setup.py install --prefix=/usr --root="$pkgdir"
> +}
> +
> +sha512sums="a6d7f92a22a9dddc8a4b07eda0aae0b6fb4db57c73133ee19937f7e2a2a8
> 2c5351051d1f3627c94a44434276ed001b83d375f708f177962125af66cda8579ec8
> gajim-1.0.3.tar.bz2"
> --
> 2.18.0
>
>
>
> ---
> Unsubscribe: alpine-aports+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-aports+help_at_lists.alpinelinux.org
> ---
>
>



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Jul 20 2018 - 12:34:13 GMT