X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-vk0-f53.google.com (mail-vk0-f53.google.com [209.85.213.53]) by lists.alpinelinux.org (Postfix) with ESMTP id B9BB25C5332 for ; Fri, 20 Jul 2018 10:34:14 +0000 (GMT) Received: by mail-vk0-f53.google.com with SMTP id b78-v6so5829277vka.12 for ; Fri, 20 Jul 2018 03:34:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=X7rVxQrEJ55qRaAihTrPMwFFSXWL+d34J/vXr95B6yQ=; b=FLEuII1w1LP1wy4g8O/0RRTQWHzLRFM6eO9g0az+SPKzy3NXpgqkhFNdNAutmOFn+N xJZkB0K86sjrnEneNkLhvnvNK+jtuJ4Uxw8rgJDV3LsIURkR5Ww5M9e8DLSCw58wK+fK ReMt9RQ+hMpWu5B+vUKgAJCrgZRs2lTAqwgG0PzctjlUm3vo3HRiApEW2aHIGoI6E18W hFkpvyVDh74ssdAngOynhAxaTU6xffD4sW9JkNefNQt1QVgaWIIBipU4ur5t8Wm6R+Hg 6QAo3fL43QTexZDRPJVRjsDAqv61yA0yxcMdNqrNCxLwgcrP8zqXyGiVX1kQkRHmMfVJ 2VsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=X7rVxQrEJ55qRaAihTrPMwFFSXWL+d34J/vXr95B6yQ=; b=C39buUVsvTCoXEW10Yy2bnyUWVCRn0NK7SJCAdq3FBpmWP2Psl7nNCW3R/iipCPLBt v8J4dJJh8XGHHFMTNi6+zEkNonHPX7mGtMUnqhytTRh5gSSKQPgBS4utr9Mm6nsKEbst Rtjm2TMn4l3hVmHa+V7fsjxa61Z7P+PmPPMz05EdJZmiTIgPJi26oZ4a2zIbCTpgcDTq 1XZwmrhEcdkoHvMd+eXHvIKHLnFUbvCwz8ivIWgjHFSs7bs4THUTqYkbGZDiNY3aw6rG dWa4hPLRulmnoIt4Hl89tttkpV0LmlTKz1ji3GKmSJCQ1ga2R9eyPHnRllTdDXW965dZ MgKQ== X-Gm-Message-State: AOUpUlGtX4rl3mkRBceFziS0Wbk4zxWPhGL9Asfh33wWvgrZR9zrj4r8 zHQb7py83cC7g3RXReVxRU16S30zkRtZjtlwT2g= X-Google-Smtp-Source: AAOMgpeoUDG8ChRfEj71fFMCO8apHLCEs0ZVxaPDEpqC+eb/4fV8phIM74jWTPJ2u1px0EkUlzOo5Sayuz9OYbtPDT4= X-Received: by 2002:a1f:5ec1:: with SMTP id s184-v6mr779778vkb.94.1532082854107; Fri, 20 Jul 2018 03:34:14 -0700 (PDT) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 2002:a9f:3223:0:0:0:0:0 with HTTP; Fri, 20 Jul 2018 03:34:13 -0700 (PDT) In-Reply-To: <20180701135522.20390-2-marian.buschsieweke@ovgu.de> References: <20180701135522.20390-1-marian.buschsieweke@ovgu.de> <20180701135522.20390-2-marian.buschsieweke@ovgu.de> From: Leonardo Arena Date: Fri, 20 Jul 2018 12:34:13 +0200 Message-ID: Subject: Re: [alpine-aports] [PATCH 2/5] testing/gajim: New aport To: Marian Buschsieweke Cc: alpine-aports Content-Type: multipart/alternative; boundary="0000000000004921c105716bd62b" --0000000000004921c105716bd62b Content-Type: text/plain; charset="UTF-8" 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 "", 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 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 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@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 > @@ -0,0 +1,29 @@ > +# Maintainer: Marian Buschsieweke > +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@lists.alpinelinux.org > Help: alpine-aports+help@lists.alpinelinux.org > --- > > --0000000000004921c105716bd62b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

it seems that gettext-de= v is missing as mdepends. Even after adding it fails during tests phase wit= h:

Now running: unit.test_protocol_caps
E
= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: test= _protocol_caps (unittest.loader._FailedTest)
---------------------------= -------------------------------------------
ImportError: Failed to impor= t test module: test_protocol_caps
Traceback (most recent call last):
= =C2=A0 File "<frozen importlib._bootstrap>", line 888, in _= find_spec
AttributeError: 'DynamicImporter' object has no attrib= ute 'find_spec'

During handling of the above exception, anot= her exception occurred:

Traceback (most recent call last):
=C2=A0= File "/usr/lib/python3.6/unittest/loader.py", line 153, in loadT= estsFromName
=C2=A0=C2=A0=C2=A0 module =3D __import__(module_name)
= =C2=A0 File "/home/larena/aports/testing/gajim/src/gajim-1.0.3/test/un= it/test_protocol_caps.py", line 7, in <module>
=C2=A0=C2=A0= =C2=A0 lib.setup_env()
=C2=A0 File "/home/larena/aports/testing/gaj= im/src/gajim-1.0.3/test/lib/__init__.py", line 55, in setup_env
=C2= =A0=C2=A0=C2=A0 from gajim import gtkgui_helpers
=C2=A0 File "/home= /larena/aports/testing/gajim/src/gajim-1.0.3/test/lib/../../gajim/gtkgui_he= lpers.py", line 32, in <module>
=C2=A0=C2=A0=C2=A0 from gi.re= pository import Gtk
=C2=A0 File "/usr/lib/python3.6/site-packages/g= i/importer.py", line 127, in find_module
=C2=A0=C2=A0=C2=A0 'in= trospection typelib not found' % namespace)
ImportError: cannot impo= rt name Gtk, introspection typelib not found


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

FAILED (errors=3D1)

Care to review the= patch?

Thanks!

/eo

On Sun,= Jul 1, 2018 at 3:55 PM, Marian Buschsieweke <marian.buschsiewe= ke@ovgu.de> wrote:
https://gajim.= org/
A full featured and easy to use XMPP client
---
=C2=A0testing/gajim/APKBUILD | 29 +++++++++++++++++++++++++++++
=C2=A01 file changed, 29 insertions(+)
=C2=A0create 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
@@ -0,0 +1,29 @@
+# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
+pkgname=3Dgajim
+pkgver=3D1.0.3
+pkgrel=3D0
+pkgdesc=3D"A full featured and easy to use XMPP client"
+url=3D"https://gajim.org/"
+arch=3D"noarch"
+license=3D"GPL3"
+depends=3D"py3-cairo py3-gobject3 py3-asn1 py3-nbxmpp py3-openssl&quo= t;
+makedepends=3D"py-setuptools python3-dev"
+source=3D"https://$pkgname.org/d= ownloads/1.0/$pkgname-$pkgver.tar.bz2"
+builddir=3D"$srcdir"/$pkgname-$pkgver
+
+build() {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd "$builddir"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0python3 setup.py build
+}
+
+check() {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd "$builddir"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0python3 setup.py test
+}
+
+package() {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd "$builddir"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0python3 setup.py install --prefix=3D/usr --root= =3D"$pkgdir"
+}
+
+sha512sums=3D"a6d7f92a22a9dddc8a4b07eda0aae0b6fb4db57c73133= ee19937f7e2a2a82c5351051d1f3627c94a44434276ed001b83d375f708f17796= 2125af66cda8579ec8=C2=A0 gajim-1.0.3.tar.bz2"
--
2.18.0



---
Unsubscribe:=C2=A0 alpine-aports+unsubscribe@lists.alpinelinux.org
Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-aports+help@lists.alpinelinux.org=
---


--0000000000004921c105716bd62b-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---