From unknown Mon Aug 18 14:22:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#26140 <26140@debbugs.gnu.org> To: bug#26140 <26140@debbugs.gnu.org> Subject: Status: Tests for obnam Reply-To: bug#26140 <26140@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:22:05 +0000 retitle 26140 Tests for obnam reassign 26140 guix-patches submitter 26140 Arun Isaac severity 26140 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 09:49:38 2017 Received: (at submit) by debbugs.gnu.org; 17 Mar 2017 13:49:38 +0000 Received: from localhost ([127.0.0.1]:59767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cosGA-00077P-Eb for submit@debbugs.gnu.org; Fri, 17 Mar 2017 09:49:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <4af06631.AEQAIW76dVEAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABYy-lh@bnc3.mailjet.com>) id 1cosG9-00077D-Eg for submit@debbugs.gnu.org; Fri, 17 Mar 2017 09:49:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <4af06631.AEQAIW76dVEAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABYy-lh@bnc3.mailjet.com>) id 1cosG3-0004iY-6Y for submit@debbugs.gnu.org; Fri, 17 Mar 2017 09:49:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,BODY_URI_ONLY, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46560) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <4af06631.AEQAIW76dVEAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABYy-lh@bnc3.mailjet.com>) id 1cosG3-0004iS-2w for submit@debbugs.gnu.org; Fri, 17 Mar 2017 09:49:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <4af06631.AEQAIW76dVEAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABYy-lh@bnc3.mailjet.com>) id 1cosG2-0001xT-0b for guix-patches@gnu.org; Fri, 17 Mar 2017 09:49:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <4af06631.AEQAIW76dVEAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABYy-lh@bnc3.mailjet.com>) id 1cosFx-0004gj-1Z for guix-patches@gnu.org; Fri, 17 Mar 2017 09:49:30 -0400 Received: from o141.p8.mailjet.com ([87.253.233.141]:58882) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <4af06631.AEQAIW76dVEAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABYy-lh@bnc3.mailjet.com>) id 1cosFw-0004fy-Oa for guix-patches@gnu.org; Fri, 17 Mar 2017 09:49:24 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:x-csa-complaints: x-mj-mid:content-type; bh=jq5HFQ0Altzd1Vddux5yBtH/as4=; b=Y8Yy4SDN8kLRgHM1YMqMVU2YWqn8nYrfHNwI9kSjWrUoPpNNuJWg2tZGk N8dKVWCq1AMCLoIdr5QAXoRUjE73eEV/qnpn8JWzCiAPbrvPlicpCsDkZ7ek 0pXt7uqAuaS7PNI6TZrNuHmcfjG+R3oAlu3rIosO9AVIYAgn3F293M= Message-Id: <4af06631.AEQAIW76dVEAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABYy-lh@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: guix-patches@gnu.org Subject: Tests for obnam Date: Fri, 17 Mar 2017 19:19:13 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEQAIW76dVEAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABYy-lhcsfERn6XTkq7yu6KvfiKUQAFgUc Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've almost finished packaging tests for obnam in backup.scm. I'll send patches in a few hours. = --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAljL6VoACgkQLiXui2GA K7NKpAgAw6TpG1GvgpT+cSGcv9nNh6IBW1iB+FfjaYS9t0YXTthpb1Mdcwx8QiAE UFWItPgmDn/i/1rnS8ubZJXr/H/brqmOoPHX2NZp3I1jGXgfgwd7JfW/9WHVve10 RG1EsIIchQFvT+Ti77kOV0w6/dBL76Z7WnP1S7evs36HUtLur1eJpo/OHN5YzRIm PMyAt15xscgwTG7xTinwi6OY75Pgp3GD4enX++fIvuQ8Qj9vSd6WIgCwdpIYyYrc clyHQrmXbLKavhz6HROVgjaVtQQyQwFR3tDd+qfFk0RfUQlgChwR8JehcmpTCZ1z 5J74MA9QCZYglvT3OMJgoNloDYL6Uw== =OKKk -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 17:14:54 2017 Received: (at 26140) by debbugs.gnu.org; 17 Mar 2017 21:14:54 +0000 Received: from localhost ([127.0.0.1]:32953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozD3-0001tF-Qf for submit@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:54 -0400 Received: from o154.p8.mailjet.com ([87.253.233.154]:40940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozD1-0001so-CQ for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:x-csa-complaints: x-mj-mid:mime-version:content-transfer-encoding; bh=AGW6b49G4l622L7z2YDj3eX8JlA=; b=JJLL4jPI4CA5aFY79BP918g3TP6JQOGNQ3AZKr1ojnt0Ve/jbCbd2joMx uPg70LSQbnBe2LsPoCgq43VdANO6+1obC6R55vE971/MHQNvAz9oqmnc/+N9 l8XRUQncM37YPfCT8z1qZTCjvISW9+248rwrjoOHUzNoiuQuZGWTDs= Message-Id: From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 1/7] gnu: Add python-astroid. Date: Sat, 18 Mar 2017 02:44:24 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAAIJz0sjcAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHJ1WBQROhuSHy_pMxSzhMO7wAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/python.scm (python-astroid, python2-astroid): New variables. --- gnu/packages/python.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9b9c5ff99..98328c97b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13680,3 +13680,45 @@ users' sessions over extended periods of time.") =20 (define-public python2-flask-login (package-with-python2 python-flask-login)) + +(define-public python-astroid + (package + (name "python-astroid") + (version "1.4.9") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/PyCQA/astroid/archive/astroid-" + version ".tar.gz")) + (sha256 + (base32 + "0j0wgy54d13a470vm4b9rdjk99n1hmdxpf34x9k3pbmi9w9b566z")))) + (build-system python-build-system) + (propagated-inputs + `(("python-lazy-object-proxy" ,python-lazy-object-proxy) + ("python-six" ,python-six) + ("python-wrapt" ,python-wrapt))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "python" "-m" "unittest" "discover" + "-p" "unittest*.py"))))))) + (home-page "https://github.com/PyCQA/astroid") + (synopsis "Common base representation of python source code for pylint= and +other projects") + (description "@code{python-astroid} provides a common base representat= ion +of python source code for projects such as pychecker, pyreverse, pylint, e= tc. + +It provides a compatible representation which comes from the _ast module. = It +rebuilds the tree generated by the builtin _ast module by recursively walk= ing +down the AST and building an extended ast. The new node classes have +additional methods and attributes for different usages. They include some +support for static inference and local name scopes. Furthermore, astroid +builds partial trees by inspecting living objects.") + (license license:lgpl2.1))) + +(define-public python2-astroid + (package-with-python2 python-astroid)) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 17:14:54 2017 Received: (at 26140) by debbugs.gnu.org; 17 Mar 2017 21:14:54 +0000 Received: from localhost ([127.0.0.1]:32955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozD4-0001tL-6l for submit@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:54 -0400 Received: from o113.p8.mailjet.com ([87.253.233.113]:32796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <09901e66.AEEAIlOTRzcAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHL@bnc3.mailjet.com>) id 1cozD1-0001sr-Uq for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=nS74Y8frtYdEeTZ1X/zXOXPX7lk=; b=DB9UquxTqqhaMZqt9eyUN4lyhz4IuufK3gQViFViObt1qglqOt7wXTN95 h4FLS7dGAl8WEixhbBsvm2Mmu/AYpot9ViSznWnxEpbKsquB+toD/1nN/Wpc Ae0C7tb6DXihn5NQXncxI5axFHjbnxXjB4MfMdt0riFyBFuX3gRvzw= Message-Id: <09901e66.AEEAIlOTRzcAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHL@mailjet.com> From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 2/7] gnu: Add python-isort. Date: Sat, 18 Mar 2017 02:44:25 +0530 In-Reply-To: <20170317211430.23900-1-arunisaac@systemreboot.net> References: <20170317211430.23900-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEEAIlOTRzcAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHLVJ6h0vAFRsmciGTQsIc5twAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/python.scm (python-isort, python2-isort): New variables. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 98328c97b..597b4ecba 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13722,3 +13722,33 @@ builds partial trees by inspecting living objects.= ") =20 (define-public python2-astroid (package-with-python2 python-astroid)) + +(define-public python-isort + (package + (name "python-isort") + (version "4.2.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/timothycrosley/isort/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zsrgkb0krn5476yncy5dd56k7dk34zqb4bnlvwy44ixgilyjmfh")))) + (build-system python-build-system) + (propagated-inputs + `(("python-mock" ,python-mock) + ("python-pytest" ,python-pytest))) + (home-page "https://github.com/timothycrosley/isort") + (synopsis "Python utility/library to sort python imports") + (description "@code{python-isort} is a python utility/library to sort +imports alphabetically, and automatically separated into sections. It +provides a command line utility, a python library and plugins for various +editors. It currently cleanly supports Python 2.6 - 3.5 using pies to ach= ieve +this without ugly hacks and/or py2to3.") + (license license:expat))) + +(define-public python2-isort + (package-with-python2 python-isort)) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 17:14:57 2017 Received: (at 26140) by debbugs.gnu.org; 17 Mar 2017 21:14:57 +0000 Received: from localhost ([127.0.0.1]:32959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozD7-0001to-Ht for submit@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:57 -0400 Received: from o171.p8.mailjet.com ([87.253.233.171]:47918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozD3-0001t5-1i for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:53 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=RWSc0ZI4JilV6vC2lfEEoN/fqwc=; b=Nq086ggcBiSonoUZXpY4tf7uXk1nhFK15oLHv67+ostNBA2NolV9Zu8Hb JsPOjeocCT/kwvmZju3Jo5BRpF9f4kb6UcULykIrlTgoLF79NctpWLvIEZiK YIP7AoKlSG4qNk2WA4BTG4Jb6Jrllwbt0y7akvdDNe4NFuUijGau9A= Message-Id: From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 3/7] gnu: Add python2-backports-functools-lru-cache. Date: Sat, 18 Mar 2017 02:44:26 +0530 In-Reply-To: <20170317211430.23900-1-arunisaac@systemreboot.net> References: <20170317211430.23900-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAAIJz19rwAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHMQ2Rcj1yVQmiVy03tIWeXMAAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) * gnu/packages/python.scm (python2-backports-functools-lru-cache): New vari= able. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 597b4ecba..22a80e883 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13752,3 +13752,26 @@ this without ugly hacks and/or py2to3.") =20 (define-public python2-isort (package-with-python2 python-isort)) + +(define-public python2-backports-functools-lru-cache + (package + (name "python2-backports-functools-lru-cache") + (version "1.3") + (source + (origin + (method url-fetch) + ;; only the pypi tarballs contain the necessary metadata + (uri (pypi-uri "backports.functools_lru_cache" version)) + (sha256 + (base32 + "158ysf2hb0q4p4695abfiym9x1ywg0dgh8a3apd7gqaaxjy22jj4")))) + (build-system python-build-system) + (native-inputs + `(("python2-setuptools-scm" ,python2-setuptools-scm))) + (arguments + `(#:python ,python-2)) + (home-page "https://github.com/jaraco/backports.functools_lru_cache") + (synopsis "Backport of functools.lru_cache from Python 3.3") + (description "@code{python2-backports-functools-lru-cache} is a backpo= rt +of functools.lru_cache from python 3.3.") + (license license:expat))) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 17:14:58 2017 Received: (at 26140) by debbugs.gnu.org; 17 Mar 2017 21:14:58 +0000 Received: from localhost ([127.0.0.1]:32961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozD7-0001tr-PP for submit@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:57 -0400 Received: from o171.p8.mailjet.com ([87.253.233.171]:55960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozD3-0001t8-JI for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:54 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=3P++MpdaNfdc+Kd3d9IjuPIZovE=; b=OePUsoVhdz75sh9KrvKwg0uoSHGOWLwmCXCR8JVNxysLZGVori/CzPyfu 4PGl4c+cr09t+1F0b+155p7iaDFFUHQUbqv+mlu+pJ6tqHMaAJEwRIGgQgac g5AqsK1SpaX2u0uIWhZcHb/cCPkzPnHQmdfoLkDERI+xPYbokmxwwI= Message-Id: From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 4/7] gnu: Add python-configparser. Date: Sat, 18 Mar 2017 02:44:27 +0530 In-Reply-To: <20170317211430.23900-1-arunisaac@systemreboot.net> References: <20170317211430.23900-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAAIJz19sUAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHM9umAknWRSV6J82WlRTCS8wAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) * gnu/packages/python.scm (python-configparser, python2-configparser): New = variables. --- gnu/packages/python.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 22a80e883..f7bdae75c 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13775,3 +13775,27 @@ this without ugly hacks and/or py2to3.") (description "@code{python2-backports-functools-lru-cache} is a backpo= rt of functools.lru_cache from python 3.3.") (license license:expat))) + +(define-public python-configparser + (package + (name "python-configparser") + (version "3.5.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://bitbucket.org/ambv/configparser/get/" + version ".tar.bz2")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0waq40as14abwzbb321hfz4vr1fi363nscy32ga14qvfygrg96wa")))) + (build-system python-build-system) + (home-page "http://docs.python.org/py3k/library/configparser.html") + (synopsis "Backport of configparser from python 3.5") + (description "@code{python-configparser} is a backport of configparser +from python 3.5 so that it can be used directly in python 2.6 - 3.5.") + (license license:expat))) + +(define-public python2-configparser + (package-with-python2 python-configparser)) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 17:14:58 2017 Received: (at 26140) by debbugs.gnu.org; 17 Mar 2017 21:14:58 +0000 Received: from localhost ([127.0.0.1]:32963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozD8-0001tx-1L for submit@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:58 -0400 Received: from o148.p9.mailjet.com ([87.253.234.148]:50679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozD4-0001tE-AA for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:54 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=gPtwdZYa37eVvDpOFu42b5nlG58=; b=n1n7i6pK/B6td/c/ex2fQwN9dRyVF5R+VXXLPctUKMiOgrA/X3mwW9S0P Kxv2l7QebCwbl8PbU5YCVifChY7wyfInR0KDzE8zdQrgoVd+w939BkkqguCC U2BBW1fIYL6u2uoOLPOpJIeWmdbKd+tfxjjcPnfavsTiAImny5ce4E= Message-Id: From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 5/7] gnu: Add python2-coverage-test-runner. Date: Sat, 18 Mar 2017 02:44:28 +0530 In-Reply-To: <20170317211430.23900-1-arunisaac@systemreboot.net> References: <20170317211430.23900-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEQAIXdbf4AAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHNqSt2SaExQAC0Q-jj6QBITAAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) * gnu/packages/python.scm (python2-coverage-test-runner): New variable. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f7bdae75c..065327db6 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13799,3 +13799,28 @@ from python 3.5 so that it can be used directly in= python 2.6 - 3.5.") =20 (define-public python2-configparser (package-with-python2 python-configparser)) + +(define-public python2-coverage-test-runner + (package + (name "python2-coverage-test-runner") + (version "1.11") + (source + (origin + (method url-fetch) + (uri (string-append + "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/coverage-test-runner= /snapshot/coverage-test-runner-" + version ".tar.gz")) + (sha256 + (base32 + "0y1m7z3dl63kmhcmydl1mwg0hacnf6ghrx9dah17j9iasssfa3g7")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (propagated-inputs + `(("python2-coverage" ,python2-coverage))) + (home-page "https://liw.fi/coverage-test-runner/") + (synopsis "Python module for running unit tests") + (description "CoverageTestRunner is a python module for running unit t= ests +and failing them if the unit test module does not excercise all statements= in +the module it tests.") + (license license:gpl3+))) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 17:14:58 2017 Received: (at 26140) by debbugs.gnu.org; 17 Mar 2017 21:14:58 +0000 Received: from localhost ([127.0.0.1]:32965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozD8-0001u4-8p for submit@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:58 -0400 Received: from o142.p9.mailjet.com ([87.253.234.142]:45525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <8a49fdb8.ADsAAG3nWWwAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHO@bnc3.mailjet.com>) id 1cozD5-0001tU-1A for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 17:14:55 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=BbTVooHle5KiiWrsqbIbJnrV+Gw=; b=piAB6Gr8Z90yCfpZ5UKacj2HcGbEzD2mscacNe7sfcIIuk8xNjvKmYHv1 tBGNg2kK6IQaghz5uqwjYR6f1cgxFmKvQ0RTAYLsQjJxeN6Uk/IF/2BocO78 JAWgDXjKFFvCQOlZAfpK6ueSuylEVCtN6Dj96/apnorAFQCXey7dNY= Message-Id: <8a49fdb8.ADsAAG3nWWwAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHO@mailjet.com> From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 6/7] gnu: Add python-pylint. Date: Sat, 18 Mar 2017 02:44:29 +0530 In-Reply-To: <20170317211430.23900-1-arunisaac@systemreboot.net> References: <20170317211430.23900-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: ADsAAG3nWWwAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHOLRIOnEPlQ8GORlnnVJwutQAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/python.scm (python-pylint, python2-pylint): New variables. --- gnu/packages/python.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 065327db6..9bb7754d5 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13824,3 +13824,62 @@ from python 3.5 so that it can be used directly in= python 2.6 - 3.5.") and failing them if the unit test module does not excercise all statements= in the module it tests.") (license license:gpl3+))) + +(define-public python-pylint + (package + (name "python-pylint") + (version "1.6.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/PyCQA/pylint/archive/pylint-" + version ".tar.gz")) + (sha256 + (base32 + "08pmgflmq2zrzrn9nkfadzwa5vybz46wvwxhrsd2mjlcgsh4rzbm")))) + (build-system python-build-system) + (native-inputs + `(("python-tox" ,python-tox))) + (propagated-inputs + `(("python-astroid" ,python-astroid) + ("python-isort" ,python-isort) + ("python-mccabe" ,python-mccabe) + ("python-six" ,python-six))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + ;; Somehow, tests for python2-pylint + ;; fail if run from the build directory + (let ((work "/tmp/work")) + (mkdir-p work) + (setenv "PYTHONPATH" + (string-append (getenv "PYTHONPATH") ":" wor= k)) + (copy-recursively "." work) + (with-directory-excursion "/tmp" + (zero? (system* "python" "-m" "unittest" "discover= " + "-s" (string-append work "/pylint/= test") + "-p" "*test_*.py"))))))))) + (home-page "https://github.com/PyCQA/pylint") + (synopsis "Python source code analyzer which looks for coding standard +errors") + (description "Pylint is a Python source code analyzer which looks +for programming errors, helps enforcing a coding standard and sniffs +for some code smells (as defined in Martin Fowler's Refactoring book). + +Pylint has many rules enabled by default, way too much to silence them +all on a minimally sized program. It's highly configurable and handle +pragmas to control it from within your code. Additionally, it is +possible to write plugins to add your own checks.") + (license license:gpl2))) + +(define-public python2-pylint + (let ((pylint (package-with-python2 python-pylint))) + (package (inherit pylint) + (propagated-inputs + `(("python2-backports-functools-lru-cache" + ,python2-backports-functools-lru-cache) + ("python2-configparser" ,python2-configparser) + ,@(package-propagated-inputs pylint)))))) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 17:15:06 2017 Received: (at 26140) by debbugs.gnu.org; 17 Mar 2017 21:15:06 +0000 Received: from localhost ([127.0.0.1]:32974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozDG-0001vj-HF for submit@debbugs.gnu.org; Fri, 17 Mar 2017 17:15:06 -0400 Received: from o132.p9.mailjet.com ([87.253.234.132]:45536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozDA-0001uI-Pq for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 17:15:01 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=UhNEOAR8e+ILtsuBV6vYe+YY+gY=; b=m1gwbMbJcHC5UKkgl/kNtdzmM3X8Sp5keBVHx8UjbTzP+Zt6cPWPakVPn s+leaUlGa262MZXaLbTwwvMB/MOlCMi+f3nDcRYSBg/YFsF6cR2GQsLpJOKF 75P/TArCr4lKxsIEQ2hgqw4CLAtLUimW0kX2JqM0QKPuSVdrF079eo= Message-Id: From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 7/7] gnu: obnam: Enable tests. Date: Sat, 18 Mar 2017 02:44:30 +0530 In-Reply-To: <20170317211430.23900-1-arunisaac@systemreboot.net> References: <20170317211430.23900-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEEAIlOTSEQAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFHT27US-nLkRZi-4U8g23zEyAAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/backup.scm (obnam)[arguments]: Replace 'check' phase with custom function. --- gnu/packages/backup.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 97ab70e65..7e9ae18f3 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -644,7 +644,23 @@ NTFS volumes using @code{ntfs-3g}, preserving NTFS-spe= cific attributes.") "0qlipsq50hca71zc0dp1mg9zs12qm0sbblw7qfzl0hj6mk2rv1by")))) (build-system python-build-system) (arguments - `(#:python ,python-2)) + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (substitute* "obnamlib/vfs_local_tests.py" + ;; Check for the nobody user instead of root + (("self.fs.get_username\\(0\\), 'root'") + "self.fs.get_username(65534), 'nobody'") + ;; Disable tests checking for root group + (("self.fs.get_groupname\\(0\\)") "'root'")) + (substitute* "obnamlib/vfs_local.py" + ;; Don't cover get_groupname function + (("def get_groupname\\(self, gid\\):") + "def get_groupname(self, gid): # pragma: no cover"= )) + ;; Can't run network tests + (zero? (system* "./check" "--unit-tests"))))))) (inputs `(("python2-cliapp" ,python2-cliapp) ("python2-larch" ,python2-larch) @@ -652,6 +668,12 @@ NTFS volumes using @code{ntfs-3g}, preserving NTFS-spe= cific attributes.") ("python2-pyaml" ,python2-pyaml) ("python2-tracing" ,python2-tracing) ("python2-ttystatus" ,python2-ttystatus))) + (native-inputs + `(("gnupg" ,gnupg) + ("python2-coverage" ,python2-coverage) + ("python2-coverage-test-runner" ,python2-coverage-test-runner) + ("python2-pep8" ,python2-pep8) + ("python2-pylint" ,python2-pylint))) (home-page "https://obnam.org/") (synopsis "Easy and secure backup program") (description "Obnam is an easy, secure backup program. Features --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 17:27:13 2017 Received: (at 26140) by debbugs.gnu.org; 17 Mar 2017 21:27:13 +0000 Received: from localhost ([127.0.0.1]:32979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozOz-0002Ee-Mo for submit@debbugs.gnu.org; Fri, 17 Mar 2017 17:27:13 -0400 Received: from o116.p9.mailjet.com ([87.253.234.116]:43172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <922bfdec.AEUAIFZMu5EAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFSu@bnc3.mailjet.com>) id 1cozOx-0002EU-CD for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 17:27:11 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type; bh=8SUk1T7jrq8fkmX5EqKni53jUVo=; b=f6tSdwzq/rm+49vgeCYq6IlRQ3eG9J8F6Ib95SFwtWGiuwLGwXoCp55c4 h2j4rt2CTWczaCFwKLQNO+9K3TFQBdOpjeEvDXCrOf9Q7CfPyRGi86mVFkrT 8CclL3G1UOeOYQn9VPYVpephN15EM8mF4vACDU8vha9OaLnMMW7WIA= Message-Id: <922bfdec.AEUAIFZMu5EAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFSu@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: 26140@debbugs.gnu.org Subject: Re: [PATCH 7/7] gnu: obnam: Enable tests. Date: Sat, 18 Mar 2017 02:56:54 +0530 In-reply-to: <20170317211430.23900-7-arunisaac@systemreboot.net> References: <20170317211430.23900-1-arunisaac@systemreboot.net> <20170317211430.23900-7-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEUAIFZMu5EAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFSuaYYbEkn-Se6VHzL17kP_igAFgUc Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 26140 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > + (replace 'check > + (lambda _ > + (substitute* "obnamlib/vfs_local_tests.py" > + ;; Check for the nobody user instead of root > + (("self.fs.get_username\\(0\\), 'root'") > + "self.fs.get_username(65534), 'nobody'") > + ;; Disable tests checking for root group > + (("self.fs.get_groupname\\(0\\)") "'root'")) > + (substitute* "obnamlib/vfs_local.py" > + ;; Don't cover get_groupname function > + (("def get_groupname\\(self, gid\\):") > + "def get_groupname(self, gid): # pragma: no cove= r")) In the build environment, is there a "nogroup" group or some other standard group just like there is a "nobody" user? If such a group exists, I could check for that group instead of disabling the group checking tests altogether. = --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAljMVJ4ACgkQLiXui2GA K7MRHQf9F/Mp1aLxFu4Y9PAJ1ZjlyXEQUwC7wbm2YHQ9ulpO6vhhDZu9BX1C8w1g wwzt/xzRR7UWRvLX/EhcSaCvPECNAi6jSVacHRiR6JcDoLlihBSVWV19vdtQQvgp Haj0N0IZ8po8Cjk1GcfEK9Ca4fxfMLDxIzNaENqB7xUJmn1k5sFB/LaHCxDdUtAR HPTGABqFukOOe0+eA7aHz5tR9LIFAQ/m7PCp3nHY2v//BO2ijYY9c28aAG8Icwkb tmNXRRuZ6ZPQCAfBpNqCYKAGr7vKag8kzzf6JOR65L5yyEmqaeDvnS7K+4Vtuq4+ ++1AiM/WhSvkXqAJpkEX02JijE4Lng== =0S8w -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 17:27:36 2017 Received: (at 26140) by debbugs.gnu.org; 17 Mar 2017 21:27:36 +0000 Received: from localhost ([127.0.0.1]:32982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cozPL-0002FE-Tt for submit@debbugs.gnu.org; Fri, 17 Mar 2017 17:27:36 -0400 Received: from o120.p8.mailjet.com ([87.253.233.120]:57414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <5bfc8518.AEUAIFZMvewAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFTF@bnc3.mailjet.com>) id 1cozPK-0002F6-HJ for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 17:27:34 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:x-csa-complaints: x-mj-mid:content-type; bh=axbS5obW4j0NqhcFc6t44y0cTGY=; b=c38BWor5PiZHbjBvZ4JFOaWD964q56JYBuLGU/gXUxkc6sKx52EwN3iWW wMNHdPRarQA3OtPikFRkRP2XkBWnbZrdOCCRn/WuZgLWAzYLd8OORaT80Wqq mTwHeoh9/4I5dqQYq2AMJ92vFsgIxX0JM3BjwxLdZWdZZv0o0jl1+4= Message-Id: <5bfc8518.AEUAIFZMvewAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFTF@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: 26140@debbugs.gnu.org Subject: Long URLs Date: Sat, 18 Mar 2017 02:57:28 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEUAIFZMvewAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFTFoxPkf_hJQmGdnLpukn4fygAFgUc Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 26140 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The URLs for some packages are very long. `guix lint' complains that those lines are "way too long". How could I rewrite those lines? = --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAljMVMEACgkQLiXui2GA K7N78ggAvUfxCuJlZyOg0OccUpRlrsGAowiE7R9gbCLZrfSNfa0DFeO6nY0UvK0U GzYB9auA2M7UCVG5+IC/bmcqQ8DOzGqaDmjCWUvujw15OCCgZPIiSDZNk2opEmx6 IPxzpHf6S3N41Qc/iudMf7qN0CuLA5yY5HADFDmHLOKO3eUN5JjsTIvmh9V/8cJU Vyva4d+kXhjqXZ6URrhX1cENQXN3ISIb9I7D78Ka3RJk5AwSHguP5Jk11iUNwJbi aAmvojkI0o+eeX6Ei1RAz3tvjFBtRov2oSTcExeaCIVGBxPZZBVunXvkdhyvRcuP UyQACwEg19G6o3eWvP1lYBXfCvj36Q== =Ec5x -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 18:56:23 2017 Received: (at 26140) by debbugs.gnu.org; 17 Mar 2017 22:56:23 +0000 Received: from localhost ([127.0.0.1]:33015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cp0nH-0004TQ-Ew for submit@debbugs.gnu.org; Fri, 17 Mar 2017 18:56:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cp0nG-0004TC-2C for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 18:56:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cp0n7-0004cU-OQ for 26140@debbugs.gnu.org; Fri, 17 Mar 2017 18:56:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cp0n7-0004cF-Kg; Fri, 17 Mar 2017 18:56:13 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:41736 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cp0n6-0004V0-TX; Fri, 17 Mar 2017 18:56:13 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Arun Isaac Subject: Re: bug#26140: [PATCH 7/7] gnu: obnam: Enable tests. References: <20170317211430.23900-1-arunisaac@systemreboot.net> <20170317211430.23900-7-arunisaac@systemreboot.net> <922bfdec.AEUAIFZMu5EAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFSu@mailjet.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 =?utf-8?Q?Vent=C3=B4se?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 17 Mar 2017 23:56:09 +0100 In-Reply-To: <922bfdec.AEUAIFZMu5EAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFSu@mailjet.com> (Arun Isaac's message of "Sat, 18 Mar 2017 02:56:54 +0530") Message-ID: <87y3w3bjhy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26140 Cc: 26140@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Arun, Arun Isaac skribis: >> + (replace 'check >> + (lambda _ >> + (substitute* "obnamlib/vfs_local_tests.py" >> + ;; Check for the nobody user instead of root >> + (("self.fs.get_username\\(0\\), 'root'") >> + "self.fs.get_username(65534), 'nobody'") >> + ;; Disable tests checking for root group >> + (("self.fs.get_groupname\\(0\\)") "'root'")) >> + (substitute* "obnamlib/vfs_local.py" >> + ;; Don't cover get_groupname function >> + (("def get_groupname\\(self, gid\\):") >> + "def get_groupname(self, gid): # pragma: no cov= er")) > > In the build environment, is there a "nogroup" group or some other > standard group just like there is a "nobody" user? If such a group > exists, I could check for that group instead of disabling the group > checking tests altogether. The manual has details on the available users and groups in the build environment (info "(guix) Build Environment Setup"): =E2=80=A2 =E2=80=98/etc/passwd=E2=80=99 with an entry for the current us= er and an entry for user =E2=80=98nobody=E2=80=99; =E2=80=A2 =E2=80=98/etc/group=E2=80=99 with an entry for the user=E2=80= =99s group; So you can rely on user =E2=80=9Cnobody=E2=80=9D, but not on =E2=80=9Cnogro= up=E2=80=9D. HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 01:54:43 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 05:54:43 +0000 Received: from localhost ([127.0.0.1]:33146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cp7K6-0006VO-SP for submit@debbugs.gnu.org; Sat, 18 Mar 2017 01:54:43 -0400 Received: from o128.p8.mailjet.com ([87.253.233.128]:42534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <271f92ca.AEAAIKFHc80AAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzMuf@bnc3.mailjet.com>) id 1cp7K4-0006VE-H5 for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 01:54:41 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type; bh=HmfEvc9wIzKvMEa2X2fUnZIyg7w=; b=ggK/Pk/KMc4hB8lnacHBcSmrvTRQ2LpPv0UdXp64quLMOUgWVl/UHatmF YJM7hGOQ6pzL2Yv5W4ekaKRXSGkb3OfROTbHO0ZvdH2NdiBbySY3yH3LeXCM WHQTsraP8Vguqq0fEGtnBrd6oN940IDC+dcsp5C/7Mn2Cm5rLZ84Kc= Message-Id: <271f92ca.AEAAIKFHc80AAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzMuf@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: 26140@debbugs.gnu.org Subject: Re: bug#26140: [PATCH 7/7] gnu: obnam: Enable tests. Date: Sat, 18 Mar 2017 11:24:27 +0530 In-reply-to: <87y3w3bjhy.fsf@gnu.org> References: <20170317211430.23900-1-arunisaac@systemreboot.net> <20170317211430.23900-7-arunisaac@systemreboot.net> <922bfdec.AEUAIFZMu5EAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFSu@mailjet.com> <87y3w3bjhy.fsf@gnu.org> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAAIKFHc80AAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzMufGEltRcS4RVO7o3ANEmM4sgAFgUc Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26140 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > The manual has details on the available users and groups in the build > environment (info "(guix) Build Environment Setup"): > > =E2=80=A2 =E2=80=98/etc/passwd=E2=80=99 with an entry for the current = user and an entry for > user =E2=80=98nobody=E2=80=99; > > =E2=80=A2 =E2=80=98/etc/group=E2=80=99 with an entry for the user=E2= =80=99s group; > > So you can rely on user =E2=80=9Cnobody=E2=80=9D, but not on =E2=80=9Cnog= roup=E2=80=9D. Yes, I did read the manual. But, I found this old thread ( https://lists.gnu.org/archive/html/guix-devel/2014-05/msg00103.html ) about "nogroup". So, I was wondering if it had been added. Could we add "nogroup" to the build environment? It would certainly make the obnam check function a little shorter and cleaner. But, other than that, I don't know how widely useful it would be. = --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAljMy5MACgkQLiXui2GA K7OLWQf+InrL1N69MJ/cLOBEOLSxwty0nk8WZ2GMrIN/UQ9I4ztDyBNlQ/mxo57s EcS+v8riqhXmCDOyeK8ht/XrewwRMJ/etuu4GKPb1oUtvdRv2474uT60o4ta/8i5 EeX3w7+otn316efzyiK4hoSkSzU77+JQ2IOzxqo5uCx1ZpZX0Sy8dSFgjFqJfCSX YXnPl/YT+K3DnEXXIU05SscFjdlbzzVmvSu1WI/7BRihCEZAVkXRchyaSO7V8ErW 9craqdbOmjJKNRassMY69Qb51J9LBfPQ7UsEaYAzTWe4uPm0kEMkhMK5BvcWmsPK b7W3TRRGEKBTJ0OGWFccgQsl9n6WFw== =OqTA -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 12:51:58 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 16:51:58 +0000 Received: from localhost ([127.0.0.1]:34172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpHaA-0003P0-FM for submit@debbugs.gnu.org; Sat, 18 Mar 2017 12:51:58 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpHa9-0003Ou-RX for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 12:51:58 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7B453206DB; Sat, 18 Mar 2017 12:51:57 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sat, 18 Mar 2017 12:51:57 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=EuYDtpzbb+4MiSFvH0uMPB6NL5I=; b=NmR84n SE3D+BGxmPvI/1wQeeYLUgeG16PBNTMQINdNUBucHlbCSP6eEuXhDwBF/tWdRbga U3XgM4kImA5UDUvFw02oheJmZYEFKfILyUtAiW9iQlsG6dU1n0Ytx/mG9W4hJmrP eX+8rOxCgr7sdD+CIzPLzg0X1HKY82xIis274= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=EuYDtpzbb+4MiSFvH0 uMPB6NL5I=; b=GatvWsRWHYvEjQqVIf2d8FUWTQcxU4paztu8oP90mNChN5D3eJ n6mzz6GyKknHtD6XCNg+byw90ebvh4kKjeR5R/sajgILWd7hOe0uLvLbb+M06YoH dZns8QuDIypNSdq9JXE8rpXydqKpkA5U6vg5uh1t1j3Eq0D/FmrOfaHCiX3e7llI JFtr28diJFOz8W0WxIiT94NfHuk34LsRUifo2kYVszj+CZel2ikbby3nG079CPVB YKc1sQKAmnGIGCK6YVhNydTq7EMoanEM+GwiGo6pM3N61F4wyRcgw3pMNY3+xBw5 BwLGlY5Qq1i0K0DGUZ2Xx2MzBZva+r/a5S5g== X-ME-Sender: X-Sasl-enc: fg2eWPGZkKXnhQzj5t44nDqpqw2PmsbG7zZ/DtPhCkAo 1489855917 Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 3968A7E2B3; Sat, 18 Mar 2017 12:51:57 -0400 (EDT) Date: Sat, 18 Mar 2017 12:51:56 -0400 From: Leo Famulari To: Arun Isaac Subject: Re: bug#26140: Long URLs Message-ID: <20170318165156.GA1836@jasmine> References: <4af06631.AEQAIW76dVEAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABYy-lh@mailjet.com> <5bfc8518.AEUAIFZMvewAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFTF@mailjet.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <5bfc8518.AEUAIFZMvewAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFTF@mailjet.com> User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26140 Cc: 26140@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 18, 2017 at 02:57:28AM +0530, Arun Isaac wrote: >=20 > The URLs for some packages are very long. `guix lint' complains that > those lines are "way too long". How could I rewrite those lines? You can break them up into pieces, put the pieces on different lines, and use (string-append) to re-assemble the URL. HTH! --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljNZawACgkQJkb6MLrK fwgocRAA8GZpjJvlCOkejAm6EpEPqh1gBCjGwbwRAXW87MdZRazjkpXFVR3qOR+L sGoYwhYbKCitA57aK1eryPY6Ff/7Nc5JV4b05O0v6DhblNv6DGPb6+x0lez3FdGq 86uAlMqrbJUvGppAMaTNHoYuMnoDdJjrdW/hlE8HDzyuFKucRTaSDViTjPLUmYYx bLB6XAX09KSpUCVrU7oARAKWP2Ec1rNw6mrsR1aXTJABrqqLYrkMuAaRX50/Y6Vh 5wNA2p+yVqx1DZ6J1odzUX16hB4VSMydaLL5jB9Ghs0TvlBQNZmzMbVRTpVPh40I nKsQixpOvLY1070BunYLMnYYQCRBJdhbH0CrGreV14FURjleYcGjVLBZo0n6O3v7 IB9zG0Zs5gv7mcz0Lzoa0/BW6Y1F78i4HPbbYKOjzax3K9pHSihV4MsYRU/YR8ou sAPBq+jP5oLBcMkCJPkcR37jx8FT3GfLkfNwCCqGtLaUksZbYZOzceeZdJJcFGwb +y1YSXawq4cxxd2HqMyvu6P0KDAFrnyZDZp3Qb5N2soS9DqPESDEKucNiwXdbrNg f5+DIslEEw0QhlQ8R3mWOYDYWIMrBZzih+Gb1tvH+VVypk9xv2hB4qeLQyEld5di /rePaBQe2kgCGUK/GWCxRtoP44pqu/FudrcZjXa8tw6O8M3uB7g= =6/EA -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 12:55:30 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 16:55:30 +0000 Received: from localhost ([127.0.0.1]:34183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpHda-0003Up-76 for submit@debbugs.gnu.org; Sat, 18 Mar 2017 12:55:30 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:53801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpHdY-0003Ui-Np for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 12:55:29 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 91B62206E5; Sat, 18 Mar 2017 12:55:28 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sat, 18 Mar 2017 12:55:28 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=c1yKanWcJXie9QyENmeUi7CT0xg=; b=YTYUr9hpl K+Shk+4myrs5C1RwaNqfKCNwJlmEi0HlKtdEb9gbfhqswfYrGzbWXPT6tpLfXaum w4xM4qc/U6Pzf0m9sz4q8BVyUSZTZSo20sC6ELd5wLOl7uEEENyHBCEeUbpMaJcp 2G3NwW03sMS14pIPZ+n03gR5rAr3DeuYd4ndPl304BYbKodFjZiCCOhljikerJ78 SO1zkYvJqJ0akS+IUuTdPD1z0IVviPlOGynG5qEBQ0gn7x2rGSGoowAPG0jF8qhR QKwDmiM4ju5nOpbGLmyNG6FKMkZHaso4vPly3ldHch6osmp2qEGRseJbRIMF8Eq7 J05FXiyZVZwDw== DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=c1yKanWcJXie9QyENm eUi7CT0xg=; b=R5a944OLPFMHeyQ2Mk8Shy+czJ9cadWB+qLk2dFpnFE9dfw/8a cCe3JTsEnTTtYvN5tz3xv71YSNwlZF2NednxXTIsHkgdpkPUIfQs/AJPE2m85hZU oECh5JQCKHOrqOCv0FWw6ScyypgYeU2cBc3WYv/p4JcWesiLBXq5kKfhmS6evBKR UPg2Ehj+ELZFWlab9nsAtoA3hDSCRpCNvhYBud9UGQD+oOAsCMzkBTz9HrkQgpJv 4CiDDdFfwbXlxrtekkDbrESlpzFZ4FGYBFim5MtIEAtQ5/RMeMZ/VWzuaMF0g9iK huQ+VG0dDwyj6hPZeL1am+ONnlu0mvSWPF2g== X-ME-Sender: X-Sasl-enc: iFLbce6siN6EmG1BEW5QnNP+Q3XN5joDWe5/uCo4p1JO 1489856128 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 214CB24335; Sat, 18 Mar 2017 12:55:28 -0400 (EDT) From: Marius Bakke To: Arun Isaac , 26140@debbugs.gnu.org Subject: Re: bug#26140: [PATCH 7/7] gnu: obnam: Enable tests. In-Reply-To: References: <20170317211430.23900-1-arunisaac@systemreboot.net> User-Agent: Notmuch/0.24 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Sat, 18 Mar 2017 17:55:26 +0100 Message-ID: <87inn67ce9.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26140 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Arun Isaac writes: > * gnu/packages/backup.scm (obnam)[arguments]: Replace 'check' phase with > custom function. Hi Arun, Thanks a lot for these! The patches LGTM overall, but will go through them more thoroughly tomorrow unless someone beats me to it. > --- > gnu/packages/backup.scm | 24 +++++++++++++++++++++++- > 1 file changed, 23 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm > index 97ab70e65..7e9ae18f3 100644 > --- a/gnu/packages/backup.scm > +++ b/gnu/packages/backup.scm > @@ -644,7 +644,23 @@ NTFS volumes using @code{ntfs-3g}, preserving NTFS-s= pecific attributes.") > "0qlipsq50hca71zc0dp1mg9zs12qm0sbblw7qfzl0hj6mk2rv1by")))) > (build-system python-build-system) > (arguments > - `(#:python ,python-2)) > + `(#:python ,python-2 > + #:phases > + (modify-phases %standard-phases > + (replace 'check > + (lambda _ > + (substitute* "obnamlib/vfs_local_tests.py" > + ;; Check for the nobody user instead of root > + (("self.fs.get_username\\(0\\), 'root'") > + "self.fs.get_username(65534), 'nobody'") > + ;; Disable tests checking for root group > + (("self.fs.get_groupname\\(0\\)") "'root'")) > + (substitute* "obnamlib/vfs_local.py" > + ;; Don't cover get_groupname function > + (("def get_groupname\\(self, gid\\):") > + "def get_groupname(self, gid): # pragma: no cove= r")) > + ;; Can't run network tests > + (zero? (system* "./check" "--unit-tests"))))))) > (inputs > `(("python2-cliapp" ,python2-cliapp) > ("python2-larch" ,python2-larch) > @@ -652,6 +668,12 @@ NTFS volumes using @code{ntfs-3g}, preserving NTFS-s= pecific attributes.") > ("python2-pyaml" ,python2-pyaml) > ("python2-tracing" ,python2-tracing) > ("python2-ttystatus" ,python2-ttystatus))) > + (native-inputs > + `(("gnupg" ,gnupg) > + ("python2-coverage" ,python2-coverage) > + ("python2-coverage-test-runner" ,python2-coverage-test-runner) > + ("python2-pep8" ,python2-pep8) > + ("python2-pylint" ,python2-pylint))) > (home-page "https://obnam.org/") > (synopsis "Easy and secure backup program") > (description "Obnam is an easy, secure backup program. Features > --=20 > 2.11.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljNZn4ACgkQoqBt8qM6 VProPgf/WkPdJOGcY+rvSKeZftAw01wTKtg+67cYERDa1/h3A5lxVH0QCKZ1Q5vW f+BqWc4EIaUwIgfwadg0WSKU1ZFDWQFoPXsfZvEqPdte0nBCQri6h+sj0uj79qp8 5yLybOb2IVheape33OObufP7teitWd6CDVhas3NaJniSTiavP7sxdwSwrtUqoPPM EWEP6xUKPufOb7KMAKCKpcsalck/VdBTD/y5DglGwAQq6+dMBN+V5doHcKory1nZ QG3zTJ0mfOmBhbCFE+ea47Jxhqd7t84JXdJ5erCryaU7cUq7bWs61JcZu6pR/MPH l3UYLx+hO23Tjov2t2efZ5/WsjNiSA== =/zNi -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 14:43:13 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 18:43:13 +0000 Received: from localhost ([127.0.0.1]:34251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJJp-0006Kz-JG for submit@debbugs.gnu.org; Sat, 18 Mar 2017 14:43:13 -0400 Received: from o148.p8.mailjet.com ([87.253.233.148]:58725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJJn-0006Kp-A2 for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 14:43:11 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type; bh=tGmK516KJ9SuN8QRtA9/i09KnHM=; b=M8YxgWQSgG6wRZCmDuqHzp7D3ROIvKZM2wDTBFSnN1IGbSbfR19mnrN/1 c1zcwFn2vMQ55YyjYgyPCUkyMyRpDfmDVfHtzEjlYOE1OPK4/TlwrY0qKAwF wqCeSy0n8Fz5+CHTULaiQQtT+fHLXsnuecR7CawWcfNNTlmBwxrUqM= Message-Id: MIME-Version: 1.0 From: Arun Isaac To: 26140@debbugs.gnu.org Subject: Re: bug#26140: Long URLs Date: Sun, 19 Mar 2017 00:12:55 +0530 In-reply-to: <20170318165156.GA1836@jasmine> References: <4af06631.AEQAIW76dVEAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABYy-lh@mailjet.com> <5bfc8518.AEUAIFZMvewAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzFTF@mailjet.com> <20170318165156.GA1836@jasmine> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: ADsAAG4Xv9kAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzX--I6fQ6HOsSRC_YNFnROISagAFgUc Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26140 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >> The URLs for some packages are very long. `guix lint' complains that >> those lines are "way too long". How could I rewrite those lines? > > You can break them up into pieces, put the pieces on different lines, > and use (string-append) to re-assemble the URL. HTH! Ok, I'll do this and send another updated patchset. Thanks! = --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAljNf7AACgkQLiXui2GA K7PVpAgAwK/HM38ChrzQ5AYa7bOhmcZn3zDeWJz2aHUfN5IjTMyb0blHudtBylKS XWf5sqwE4L4Tc0sHNPrstPju/c+yvIxu6hUrbICzCDgmHyNnSzLCeIHzrnUDvr/a BsnJLEYo2HufSbsAJUq+Efu4dds9cI+f5dz2YKt9+DxtvXfftKyJPHar6mpWp9Kb 2dpGq6zHteAMcYZa7MI8fGbRm8a0IWgjGzfH4k39VK/ylAbnfqerCVoa8N7csRGJ lLloVvd8cvto6vyBfwWvSeJNZigcwZU2CxUpalft9MjbEe5r5rys4tSryCJsq+Il T9nFQULiwbguIjYV/iD5WhLq4cfW3g== =Gt60 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 14:53:23 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 18:53:23 +0000 Received: from localhost ([127.0.0.1]:34268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJTf-0006cW-1l for submit@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:23 -0400 Received: from o109.p9.mailjet.com ([87.253.234.109]:35436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJTc-0006c0-HG for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:20 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:x-csa-complaints: x-mj-mid:mime-version:content-transfer-encoding; bh=AGW6b49G4l622L7z2YDj3eX8JlA=; b=o8mWl3sm24rJIP3CjJwjTjUHMcg5QG5BWs2kYMs0T5lOzHZyL59atgdLg 6IOiw2TodZkOcy400YuudNRy9bV+qhKguupT08v2nci7ffwL1Ovn4uaHJs60 t8d+mMce3/2brxVG/5Mlb4UwI0EAOYln+51zYJKsXn7h37pr5VqSOU= Message-Id: From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 1/7] gnu: Add python-astroid. Date: Sun, 19 Mar 2017 00:22:50 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEEAImDNfWUAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIfs1XUCESaQGep0CXyvB6qSAAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) * gnu/packages/python.scm (python-astroid, python2-astroid): New variables. --- gnu/packages/python.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9b9c5ff99..98328c97b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13680,3 +13680,45 @@ users' sessions over extended periods of time.") =20 (define-public python2-flask-login (package-with-python2 python-flask-login)) + +(define-public python-astroid + (package + (name "python-astroid") + (version "1.4.9") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/PyCQA/astroid/archive/astroid-" + version ".tar.gz")) + (sha256 + (base32 + "0j0wgy54d13a470vm4b9rdjk99n1hmdxpf34x9k3pbmi9w9b566z")))) + (build-system python-build-system) + (propagated-inputs + `(("python-lazy-object-proxy" ,python-lazy-object-proxy) + ("python-six" ,python-six) + ("python-wrapt" ,python-wrapt))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "python" "-m" "unittest" "discover" + "-p" "unittest*.py"))))))) + (home-page "https://github.com/PyCQA/astroid") + (synopsis "Common base representation of python source code for pylint= and +other projects") + (description "@code{python-astroid} provides a common base representat= ion +of python source code for projects such as pychecker, pyreverse, pylint, e= tc. + +It provides a compatible representation which comes from the _ast module. = It +rebuilds the tree generated by the builtin _ast module by recursively walk= ing +down the AST and building an extended ast. The new node classes have +additional methods and attributes for different usages. They include some +support for static inference and local name scopes. Furthermore, astroid +builds partial trees by inspecting living objects.") + (license license:lgpl2.1))) + +(define-public python2-astroid + (package-with-python2 python-astroid)) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 14:53:25 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 18:53:25 +0000 Received: from localhost ([127.0.0.1]:34273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJTh-0006cy-E5 for submit@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:25 -0400 Received: from o168.p9.mailjet.com ([87.253.234.168]:59098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <2c3775ed.AEMAIS5fsuwAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIg@bnc3.mailjet.com>) id 1cpJTd-0006c2-IV for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:21 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=nS74Y8frtYdEeTZ1X/zXOXPX7lk=; b=VZlV8jIHjw8EDwuhG/RvZqFvWubxXsgjpToquAhElzIcgee+5/Ck0yT8t BPolMc2eS4/zyxHUY108gF33Egm2CXYq7LUkQidPl+M7gayOv7xtxvqmuGXM +xILfMH+FsgUq/qrYY+hytFuj0dzXJMIB/9s39gq5B0Cxa1CObZJRw= Message-Id: <2c3775ed.AEMAIS5fsuwAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIg@mailjet.com> From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 2/7] gnu: Add python-isort. Date: Sun, 19 Mar 2017 00:22:51 +0530 In-Reply-To: <20170318185256.4894-1-arunisaac@systemreboot.net> References: <20170318185256.4894-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEMAIS5fsuwAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIgehD0nrrbR8OBiRtXJe9oSQAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) * gnu/packages/python.scm (python-isort, python2-isort): New variables. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 98328c97b..597b4ecba 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13722,3 +13722,33 @@ builds partial trees by inspecting living objects.= ") =20 (define-public python2-astroid (package-with-python2 python-astroid)) + +(define-public python-isort + (package + (name "python-isort") + (version "4.2.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/timothycrosley/isort/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zsrgkb0krn5476yncy5dd56k7dk34zqb4bnlvwy44ixgilyjmfh")))) + (build-system python-build-system) + (propagated-inputs + `(("python-mock" ,python-mock) + ("python-pytest" ,python-pytest))) + (home-page "https://github.com/timothycrosley/isort") + (synopsis "Python utility/library to sort python imports") + (description "@code{python-isort} is a python utility/library to sort +imports alphabetically, and automatically separated into sections. It +provides a command line utility, a python library and plugins for various +editors. It currently cleanly supports Python 2.6 - 3.5 using pies to ach= ieve +this without ugly hacks and/or py2to3.") + (license license:expat))) + +(define-public python2-isort + (package-with-python2 python-isort)) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 14:53:25 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 18:53:26 +0000 Received: from localhost ([127.0.0.1]:34275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJTh-0006d1-MN for submit@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:25 -0400 Received: from o179.p9.mailjet.com ([87.253.234.179]:44212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <8993dfe4.AEQAIYSOvRAAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIh@bnc3.mailjet.com>) id 1cpJTe-0006cA-9r for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:22 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=RWSc0ZI4JilV6vC2lfEEoN/fqwc=; b=r4oJ/idU+2C3FjE/7XffjwYH2hP+x+hxbJou+q9JAERT+sM4sbvgN0GnG oVy3TeNYfhQXJViDIyNnguvb8JiWnmUWxFlv7bRVUfn11/f67aUQR+bPedLA LVynPLkIjMoqPltvCkfGNK4qccif7Rfl9/576/qqs3fLK3c2BqiDkg= Message-Id: <8993dfe4.AEQAIYSOvRAAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIh@mailjet.com> From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 3/7] gnu: Add python2-backports-functools-lru-cache. Date: Sun, 19 Mar 2017 00:22:52 +0530 In-Reply-To: <20170318185256.4894-1-arunisaac@systemreboot.net> References: <20170318185256.4894-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEQAIYSOvRAAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIhOiBcE8TeQ52cC6olDV_qFgAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python.scm (python2-backports-functools-lru-cache): New vari= able. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 597b4ecba..22a80e883 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13752,3 +13752,26 @@ this without ugly hacks and/or py2to3.") =20 (define-public python2-isort (package-with-python2 python-isort)) + +(define-public python2-backports-functools-lru-cache + (package + (name "python2-backports-functools-lru-cache") + (version "1.3") + (source + (origin + (method url-fetch) + ;; only the pypi tarballs contain the necessary metadata + (uri (pypi-uri "backports.functools_lru_cache" version)) + (sha256 + (base32 + "158ysf2hb0q4p4695abfiym9x1ywg0dgh8a3apd7gqaaxjy22jj4")))) + (build-system python-build-system) + (native-inputs + `(("python2-setuptools-scm" ,python2-setuptools-scm))) + (arguments + `(#:python ,python-2)) + (home-page "https://github.com/jaraco/backports.functools_lru_cache") + (synopsis "Backport of functools.lru_cache from Python 3.3") + (description "@code{python2-backports-functools-lru-cache} is a backpo= rt +of functools.lru_cache from python 3.3.") + (license license:expat))) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 14:53:26 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 18:53:26 +0000 Received: from localhost ([127.0.0.1]:34277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJTh-0006d8-Ux for submit@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:26 -0400 Received: from o179.p9.mailjet.com ([87.253.234.179]:33187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0b9f1bd8.AEUAIGNkmHMAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIh@bnc3.mailjet.com>) id 1cpJTe-0006cI-D6 for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:23 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=3P++MpdaNfdc+Kd3d9IjuPIZovE=; b=G9uzPO6eZ593bdOFf2hSdlLrgf25B+iSZqoKDTmFAOWrREwrFqUUvkDjc osQD0eaLfOAee7p74iO6mqYKUQBWhQb9d4rMd4tlUnNdhx9I9mfOBwlc25Z1 MTppkDumtCc+Y4bErejyA/pilY+3qvqXxG0zjEzS32YpJTR2VL2+q0= Message-Id: <0b9f1bd8.AEUAIGNkmHMAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIh@mailjet.com> From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 4/7] gnu: Add python-configparser. Date: Sun, 19 Mar 2017 00:22:53 +0530 In-Reply-To: <20170318185256.4894-1-arunisaac@systemreboot.net> References: <20170318185256.4894-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEUAIGNkmHMAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIhjlHuset6RyWP7mGcj2Mx5gAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python.scm (python-configparser, python2-configparser): New = variables. --- gnu/packages/python.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 22a80e883..f7bdae75c 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13775,3 +13775,27 @@ this without ugly hacks and/or py2to3.") (description "@code{python2-backports-functools-lru-cache} is a backpo= rt of functools.lru_cache from python 3.3.") (license license:expat))) + +(define-public python-configparser + (package + (name "python-configparser") + (version "3.5.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://bitbucket.org/ambv/configparser/get/" + version ".tar.bz2")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0waq40as14abwzbb321hfz4vr1fi363nscy32ga14qvfygrg96wa")))) + (build-system python-build-system) + (home-page "http://docs.python.org/py3k/library/configparser.html") + (synopsis "Backport of configparser from python 3.5") + (description "@code{python-configparser} is a backport of configparser +from python 3.5 so that it can be used directly in python 2.6 - 3.5.") + (license license:expat))) + +(define-public python2-configparser + (package-with-python2 python-configparser)) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 14:53:26 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 18:53:26 +0000 Received: from localhost ([127.0.0.1]:34279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJTi-0006dF-7h for submit@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:26 -0400 Received: from o175.p8.mailjet.com ([87.253.233.175]:37190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <4a39ade7.AEAAIKoqd3gAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIi@bnc3.mailjet.com>) id 1cpJTf-0006cQ-Ft for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:24 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=xnOp4zPwC7LoFnTRqC58afV89Gg=; b=oGs/qSJphEy0qNqP983wE9xc7je54d0J77mkFKNRR6Qt1As/M9jhCCQTR D/Aw3j8+ZxcHeROMyb4FpSed51vh2etx1L/8nPwCzKMoV2iuJ5x9PiaISg8K OBXiVY30Ggq4e8vSYZL/VLAxEsBNi/R8t7BiM+SQnui4j8VVLHhqH0= Message-Id: <4a39ade7.AEAAIKoqd3gAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIi@mailjet.com> From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 5/7] gnu: Add python2-coverage-test-runner. Date: Sun, 19 Mar 2017 00:22:54 +0530 In-Reply-To: <20170318185256.4894-1-arunisaac@systemreboot.net> References: <20170318185256.4894-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAAIKoqd3gAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIiZR2gU3onQRKep3fwVwj_kwAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) * gnu/packages/python.scm (python2-coverage-test-runner): New variable. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f7bdae75c..667edc14b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13799,3 +13799,29 @@ from python 3.5 so that it can be used directly in= python 2.6 - 3.5.") =20 (define-public python2-configparser (package-with-python2 python-configparser)) + +(define-public python2-coverage-test-runner + (package + (name "python2-coverage-test-runner") + (version "1.11") + (source + (origin + (method url-fetch) + (uri (string-append + "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/" + "coverage-test-runner/snapshot/coverage-test-runner-" + version ".tar.gz")) + (sha256 + (base32 + "0y1m7z3dl63kmhcmydl1mwg0hacnf6ghrx9dah17j9iasssfa3g7")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (propagated-inputs + `(("python2-coverage" ,python2-coverage))) + (home-page "https://liw.fi/coverage-test-runner/") + (synopsis "Python module for running unit tests") + (description "CoverageTestRunner is a python module for running unit t= ests +and failing them if the unit test module does not excercise all statements= in +the module it tests.") + (license license:gpl3+))) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 14:53:27 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 18:53:27 +0000 Received: from localhost ([127.0.0.1]:34281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJTi-0006dR-J1 for submit@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:26 -0400 Received: from o118.p9.mailjet.com ([87.253.234.118]:41859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <62366764.AEQAIYSReFUAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIj@bnc3.mailjet.com>) id 1cpJTg-0006cj-5U for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:24 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=W2zmHjValAWHmU2Rj5UCR+S5Jqo=; b=Jrz1SFFQA4dmaADkScMtmKafOaxMsGfqJ/S8ubc7ic50UUwtR7D54NJTL /uVn2np7o+MsmEws00S4/MHH4cpjnpBOJ03jYxv1Df0xMDqWw+TCJb8DPsQG c27ZM9eMxmTAurgrjX3kddvV37jn74/gdxUlOt/r4WeN4AFsFiFUFA= Message-Id: <62366764.AEQAIYSReFUAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIj@mailjet.com> From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 6/7] gnu: Add python-pylint. Date: Sun, 19 Mar 2017 00:22:55 +0530 In-Reply-To: <20170318185256.4894-1-arunisaac@systemreboot.net> References: <20170318185256.4894-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEQAIYSReFUAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIjw323n5bYR9O7o7mBtT_uVQAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/python.scm (python-pylint, python2-pylint): New variables. --- gnu/packages/python.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 667edc14b..5cba0b6ae 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13825,3 +13825,62 @@ from python 3.5 so that it can be used directly in= python 2.6 - 3.5.") and failing them if the unit test module does not excercise all statements= in the module it tests.") (license license:gpl3+))) + +(define-public python-pylint + (package + (name "python-pylint") + (version "1.6.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/PyCQA/pylint/archive/pylint-" + version ".tar.gz")) + (sha256 + (base32 + "08pmgflmq2zrzrn9nkfadzwa5vybz46wvwxhrsd2mjlcgsh4rzbm")))) + (build-system python-build-system) + (native-inputs + `(("python-tox" ,python-tox))) + (propagated-inputs + `(("python-astroid" ,python-astroid) + ("python-isort" ,python-isort) + ("python-mccabe" ,python-mccabe) + ("python-six" ,python-six))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + ;; Somehow, tests for python2-pylint + ;; fail if run from the build directory + (let ((work "/tmp/work")) + (mkdir-p work) + (setenv "PYTHONPATH" + (string-append (getenv "PYTHONPATH") ":" wor= k)) + (copy-recursively "." work) + (with-directory-excursion "/tmp" + (zero? (system* "python" "-m" "unittest" "discover= " + "-s" (string-append work "/pylint/= test") + "-p" "*test_*.py"))))))))) + (home-page "https://github.com/PyCQA/pylint") + (synopsis "Python source code analyzer which looks for coding standard +errors") + (description "Pylint is a Python source code analyzer which looks +for programming errors, helps enforcing a coding standard and sniffs +for some code smells (as defined in Martin Fowler's Refactoring book). + +Pylint has many rules enabled by default, way too much to silence them +all on a minimally sized program. It's highly configurable and handle +pragmas to control it from within your code. Additionally, it is +possible to write plugins to add your own checks.") + (license license:gpl2))) + +(define-public python2-pylint + (let ((pylint (package-with-python2 python-pylint))) + (package (inherit pylint) + (propagated-inputs + `(("python2-backports-functools-lru-cache" + ,python2-backports-functools-lru-cache) + ("python2-configparser" ,python2-configparser) + ,@(package-propagated-inputs pylint)))))) --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 18 14:53:32 2017 Received: (at 26140) by debbugs.gnu.org; 18 Mar 2017 18:53:32 +0000 Received: from localhost ([127.0.0.1]:34283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJTo-0006dj-0Q for submit@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:32 -0400 Received: from o118.p9.mailjet.com ([87.253.234.118]:51728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpJTg-0006cq-Lt for 26140@debbugs.gnu.org; Sat, 18 Mar 2017 14:53:26 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:in-reply-to:references: x-csa-complaints:x-mj-mid:mime-version:content-transfer-encoding; bh=UhNEOAR8e+ILtsuBV6vYe+YY+gY=; b=L/Ts3cyBJuVoId8C24ob5Igw8PNMzOi5OA1YI1AIzVyTGB7dKqDbK39qX DiXACh/r+brBK8lfj113iF3KdXHP0jDLwoX6cdHUge4LJfygHyuqX467VScX JxiHnvlXeXbtsdY1h7lojEPRjOA6PRMUmHHNkDRlrStj4r7LA/GUAo= Message-Id: From: Arun Isaac To: 26140@debbugs.gnu.org Subject: [PATCH 7/7] gnu: obnam: Enable tests. Date: Sun, 19 Mar 2017 00:22:56 +0530 In-Reply-To: <20170318185256.4894-1-arunisaac@systemreboot.net> References: <20170318185256.4894-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEMAIS5fsyEAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYzYIjUThT90SORMySfJX_H60E6AAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26140 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/backup.scm (obnam)[arguments]: Replace 'check' phase with custom function. --- gnu/packages/backup.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 97ab70e65..7e9ae18f3 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -644,7 +644,23 @@ NTFS volumes using @code{ntfs-3g}, preserving NTFS-spe= cific attributes.") "0qlipsq50hca71zc0dp1mg9zs12qm0sbblw7qfzl0hj6mk2rv1by")))) (build-system python-build-system) (arguments - `(#:python ,python-2)) + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (substitute* "obnamlib/vfs_local_tests.py" + ;; Check for the nobody user instead of root + (("self.fs.get_username\\(0\\), 'root'") + "self.fs.get_username(65534), 'nobody'") + ;; Disable tests checking for root group + (("self.fs.get_groupname\\(0\\)") "'root'")) + (substitute* "obnamlib/vfs_local.py" + ;; Don't cover get_groupname function + (("def get_groupname\\(self, gid\\):") + "def get_groupname(self, gid): # pragma: no cover"= )) + ;; Can't run network tests + (zero? (system* "./check" "--unit-tests"))))))) (inputs `(("python2-cliapp" ,python2-cliapp) ("python2-larch" ,python2-larch) @@ -652,6 +668,12 @@ NTFS volumes using @code{ntfs-3g}, preserving NTFS-spe= cific attributes.") ("python2-pyaml" ,python2-pyaml) ("python2-tracing" ,python2-tracing) ("python2-ttystatus" ,python2-ttystatus))) + (native-inputs + `(("gnupg" ,gnupg) + ("python2-coverage" ,python2-coverage) + ("python2-coverage-test-runner" ,python2-coverage-test-runner) + ("python2-pep8" ,python2-pep8) + ("python2-pylint" ,python2-pylint))) (home-page "https://obnam.org/") (synopsis "Easy and secure backup program") (description "Obnam is an easy, secure backup program. Features --=20 2.11.0 = From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 19 19:42:33 2017 Received: (at 26140-done) by debbugs.gnu.org; 19 Mar 2017 23:42:33 +0000 Received: from localhost ([127.0.0.1]:35657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpkT2-0002nz-Qi for submit@debbugs.gnu.org; Sun, 19 Mar 2017 19:42:33 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpkSz-0002np-HW for 26140-done@debbugs.gnu.org; Sun, 19 Mar 2017 19:42:30 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 31CF120799; Sun, 19 Mar 2017 19:42:29 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 19 Mar 2017 19:42:29 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=uYeIG+rUa97y08OFdsQYjQCrm0M=; b=gyt54Q6R4 jurk9vSn+Qe8aolbsDCpmAjadIiVj3Vr2N+pIVyh/HdJDZB0vF6+AlNcCS15Lpq8 W8pN/VuH+T8lYYowisdcB2QkxvghwrzDO+Rk/2NgnIxZci12wOcfbhStmSobkyJi /z5OKdkShRUeYIsJQ02OOTqL8DP1aoiE4NfypBsWjUk5/dTWP2z4R3wwCIKKfYMC TODRbe5aiICXiPbssPGggGFwQLL5ClbHC9APECnPwHWFHsd2jYOsEfGMAeau6UO+ aT2Wq+MC6ngF2AGDQo5bzWmsy8B8V8mjt/CnV/0ogzONiBbeN7i30dMCUA+FX91+ BjSECxE3C2GZA== DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=uYeIG+rUa97y08OFds QYjQCrm0M=; b=Q3GZmoEw7rVJSBp+6D2YqpKSFz3f2iQ01iNjFQA6OwKjd/8Ebq D7WPv+CnDvVwUbJxwZBBgLHjMGamUOYXvPulpCA33yhFeMZocYcEbQj01Q+W5ubS n9pMwyD1FmkEvCAhMlOyG8Z0w4l/8JC1cqpO/1xxiLynF9iy4ECQYZFGFafEO3VP 7FHcafuVz+oCpEYvGykmnvX9oGmJtcYINAizFOpv4CBrz2mMeeNtQqzTAXalSFyR 5GW2MEb7EtbtNigoZZAzzf5lYzlcQ5hkV/HZw+oavCnZTMV3BDED7KGQceVNs4R9 ZkloQm+h5kW3Ao83AJHak9GYiVgLy8gvqbJQ== X-ME-Sender: X-Sasl-enc: NTqQwodDRr5am7RKigx6cQ4TDDhAmGDITtVV0zP+yyDw 1489966948 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id BF40B7E168; Sun, 19 Mar 2017 19:42:28 -0400 (EDT) From: Marius Bakke To: Arun Isaac , 26140-done@debbugs.gnu.org Subject: Re: bug#26140: [PATCH 7/7] gnu: obnam: Enable tests. In-Reply-To: References: <20170318185256.4894-1-arunisaac@systemreboot.net> User-Agent: Notmuch/0.24 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Mon, 20 Mar 2017 00:42:27 +0100 Message-ID: <87efxs7s0s.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26140-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Arun Isaac writes: > * gnu/packages/backup.scm (obnam)[arguments]: Replace 'check' phase with > custom function. Thanks for these! I've commited them with some minor changes: GPL licenses changed to the "or later" variant; isort inputs were native-inputs; adding a 'check' phase for configparser; and using @code{} notation where applicable. Pushed! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljPF2MACgkQoqBt8qM6 VPq48QgAtmft2GBBr0pbe3L94Mf1Gs7J3Ae5RtEsC1kTyp49HLDf8Tf1/mBgHNk4 zzzzw/5L5XGC3gEExbNdfkZQrOvZfVOfsXeXEnZmAsoAllqzBuXP5y8i6J05qIeD bFXyFRuncs6d/ZnPQWTWqush2r7hIifu2MAS6fL8YxN1h2+fkzxukj3je7T4Z6Kr IDbgPHEQbB2v2ZiGFfBoYBQR6p8CUij550j60TKdbaNnzyYh9gMLWDc1Weekd+sH 56UxF8zespTXzLKIwgnzBEYRCSwHqhdBiaX7DoJWLiJQGCwGVikcDMuHiOtypvdT DVK2sGqcOALf1pqY0maGm1Y8NNrc8g== =jbP4 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 01:15:20 2017 Received: (at 26140) by debbugs.gnu.org; 20 Mar 2017 05:15:21 +0000 Received: from localhost ([127.0.0.1]:35782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cppf6-0002V7-Nu for submit@debbugs.gnu.org; Mon, 20 Mar 2017 01:15:20 -0400 Received: from o117.p9.mailjet.com ([87.253.234.117]:48797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <22d1c63f.AEAAIMFxLEcAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYz2Vl@bnc3.mailjet.com>) id 1cppf5-0002Uy-17 for 26140@debbugs.gnu.org; Mon, 20 Mar 2017 01:15:19 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type; bh=TmXkmPbl8BrkTkY3JPi6OXv5yrc=; b=l9Hlv4+UDWhNLFErn0RvVZPDfAsWWTu77LuQrJ9zzJoK4CE5jgx4vUEZ2 dCxUFqKb+7IXzH5DL/HMs0yCgckxJ61FRZqiEMYCq/H0iPXZJW1AiQCUWsC4 68hw8ygoqg5MDxHgq0CZ7xxUBgvvJHcfyT0fvUrkT6pILNhSpjPPgc= Message-Id: <22d1c63f.AEAAIMFxLEcAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYz2Vl@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Subject: Re: bug#26140: [PATCH 7/7] gnu: obnam: Enable tests. Date: Mon, 20 Mar 2017 10:44:46 +0530 In-reply-to: <87efxs7s0s.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170318185256.4894-1-arunisaac@systemreboot.net> <87efxs7s0s.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAAIMFxLEcAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYz2VlVR1kDi8sTViTeVrBCc_IHgAFgUc Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 26140 Cc: 26140@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > Arun Isaac writes: > >> * gnu/packages/backup.scm (obnam)[arguments]: Replace 'check' phase with >> custom function. > > Thanks for these! I've commited them with some minor changes: > > GPL licenses changed to the "or later" variant; isort inputs were > native-inputs; adding a 'check' phase for configparser; and using > @code{} notation where applicable. Thanks for the improvements! You have changed the licenses of python-pylint and python-astroid to the "or later" variant. But, I don't think they are of the "or later" variant. Look at line 9 of https://github.com/PyCQA/pylint/blob/master/setup.py and line 6 of https://github.com/PyCQA/astroid/blob/master/setup.py = --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAljPZUYACgkQLiXui2GA K7MLFggApnkAbh/LbyojjP3qPBSZsfu/pHE5iLHvGcdB3rDrR1M0bdrHTKaU75tJ vlJL6kdIdTtq48JWAI/ixyndVPk1Xy2AHnBh79DSx68mZKLksFHnGj0oCD2SAsWh xJpAAkLph8x/WkF0x7eCGCuPX0P8sYKB+I7rg+8e9Fs72RckaQZKe6BgTvrNydmp u+CABe8ZJW1MwAeZoJ7tyFb6x6u6Y8awoP2fkXd3sCtoyVEawRWrBe+F1ylknknT dszTWCzL/VxnuC6boAYK0SZgUH99tEiz5WFWmsh4TldcrdCB4MZkz+yTPo5YnLsk qH8aS+qQ9TdBzHC/wdWIw1h+yGWymw== =8li5 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 02:50:41 2017 Received: (at 26140) by debbugs.gnu.org; 20 Mar 2017 06:50:41 +0000 Received: from localhost ([127.0.0.1]:35823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpr9N-0004qf-2n for submit@debbugs.gnu.org; Mon, 20 Mar 2017 02:50:41 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpr9K-0004qV-1L for 26140@debbugs.gnu.org; Mon, 20 Mar 2017 02:50:38 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7011D2064E; Mon, 20 Mar 2017 02:50:37 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 20 Mar 2017 02:50:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=HTjBpGGvKRSH5yETFQuTUsPa5ft6g0spNKp9IvTh1 eY=; b=iCOSGIqWcS2Ho4kF7bmLapuuY1hyCwc9uohGCsh/7iL8zDzqgGuyp/HQb sk7YCiQzIu2Gq0rYdLjVDTBdL90P3M2ccUlX6HNEUvGl8/ZW+E8B0xB7uZtSGDUc R0uvUNrFlcPVpqCABwdmUaCl4O7vcGU1+wdBomBOhqR6oxOJQfiXYaMns0aYTVlU Demcycl6jgHyjwP2sJfeyHqrlQ9MF3sh3Q3nsJomUUygLa+iBJ/5aT62Slg/gYXp WuZ+z8+zNQkXLslClWpPfzL0t580xW9DUK8ra3PImGd6jziPRLxdX2rcp76v543D j49D0jUl6QdbUjavLyArIOwSNG0bw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=HTjBpGGvKRSH5yETFQ uTUsPa5ft6g0spNKp9IvTh1eY=; b=iO0txuM96dcU3VJNj9xoJRonvuVuLl/qLN lB19Tgxta7XobIR7XyUQWH6OmoUIcSnGrpjuJAR+o5B/T5i/55lQh5/ZVKq4oCuw NJXcgez7mFub4ww2phKzqE8YVmc+7IAo3UyOpkFGDNG6hQpJRcnq8rykLU8A+X2M dcQRrj+FXjA+gIOVNUcWA1ZFM+i+4FjtL4P+mJXE+ZC8Kj7//40G6Ug4FaGI8Tm/ BdaJ4So3+/ZABSDr3N8Bju3T0MtfB3Ifh6Atu94QaugeigmHJlY24z9eKLFg35bA ZCE6WPXCt+Izm5V2CQDDzhcwlEyexWp6SC8RYjbGY+3qCRskQiZA== X-ME-Sender: X-Sasl-enc: vnrt/LTGOBhdHP5YydyxHIzJPZoBY60CrBni3uwe0tvj 1489992636 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id D23E87E168; Mon, 20 Mar 2017 02:50:36 -0400 (EDT) From: Marius Bakke To: Arun Isaac Subject: Re: bug#26140: [PATCH 7/7] gnu: obnam: Enable tests. In-Reply-To: <22d1c63f.AEAAIMFxLEcAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYz2Vl@mailjet.com> References: <20170318185256.4894-1-arunisaac@systemreboot.net> <87efxs7s0s.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <22d1c63f.AEAAIMFxLEcAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYz2Vl@mailjet.com> User-Agent: Notmuch/0.24 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Mon, 20 Mar 2017 07:50:34 +0100 Message-ID: <8760j47879.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26140 Cc: 26140@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Arun Isaac writes: > Marius Bakke writes: > >> Arun Isaac writes: >> >>> * gnu/packages/backup.scm (obnam)[arguments]: Replace 'check' phase with >>> custom function. >> >> Thanks for these! I've commited them with some minor changes: >> >> GPL licenses changed to the "or later" variant; isort inputs were >> native-inputs; adding a 'check' phase for configparser; and using >> @code{} notation where applicable. > > Thanks for the improvements! > > You have changed the licenses of python-pylint and python-astroid to the > "or later" variant. But, I don't think they are of the "or later" > variant. Look at line 9 of > https://github.com/PyCQA/pylint/blob/master/setup.py and line 6 of > https://github.com/PyCQA/astroid/blob/master/setup.py When no version is explicitly specified in the source headers, the "or later" is assumed. See e.g.: https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00026.html In addition, both of these packages ship a "debian/copyright" file that uses the "or any later version" form: https://github.com/PyCQA/pylint/blob/master/debian/copyright https://github.com/PyCQA/astroid/blob/master/debian/copyright So I believe the current information is correct. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljPe7oACgkQoqBt8qM6 VPo67Af/eHtA+pHAGWAheq5Gs9w7vuUxAKzRbz3phLEXAeCOMwQ3RUULevDH4IAr smOiVdfoCYDvqCIkMOTyHGC5+kZb9KExmy54LL0iODehukwQqblKlnB7qDPFgVWh e+4y77xbv0sar0YyLlMUupygncIH/LD2uN10+e0zceIeezDY/lGgf4pChOEabWzH 6JbDTwjozH22f0/lYOWehCxYfCfLCzEgGIhOjq6Qj47xwydAkKL191ikFDRLeFrz ERGuIRxan474vCsav+KJdgLU/LOeEJaLaPfvVXI/+cWyQVcScLb58w7UYY/yOyx0 5JsoVz1PLOkbUgO19ppIjnLT77XR/Q== =JFYY -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 04:37:23 2017 Received: (at 26140) by debbugs.gnu.org; 20 Mar 2017 08:37:23 +0000 Received: from localhost ([127.0.0.1]:35846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpsoc-0007NY-Uj for submit@debbugs.gnu.org; Mon, 20 Mar 2017 04:37:23 -0400 Received: from o105.p9.mailjet.com ([87.253.234.105]:58888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpsob-0007NQ-0o for 26140@debbugs.gnu.org; Mon, 20 Mar 2017 04:37:21 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type; bh=bMWc9qV7n5ETWMZmc6gBvC35IYs=; b=e8180bfZqdzQNT8vDwRjBviW9ooOSJO/p4QSYXJ02R9+XzkOkamyKdniF nRQXLZ4+AVgd2gB3uYwTiJNzCDWoVX/7iTnh9qtJ4c5D4NhzpWT5x8Z9Z0gM RQC3eCMAUZIK7nkzQpStk2LmisdTuxqa4cmw8lENKdRI1J4Dk5q5ao= Message-Id: MIME-Version: 1.0 From: Arun Isaac To: 26140@debbugs.gnu.org Subject: Re: bug#26140: [PATCH 7/7] gnu: obnam: Enable tests. Date: Mon, 20 Mar 2017 14:06:40 +0530 In-reply-to: <8760j47879.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170318185256.4894-1-arunisaac@systemreboot.net> <87efxs7s0s.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <22d1c63f.AEAAIMFxLEcAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYz2Vl@mailjet.com> <8760j47879.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEUAIH6jwzgAAAAAAAAAAAOtZZAAAAACwQwAAAAAAAW9WABYz5S_6Q7txVZ8Sy6YB27pEAVQRwAFgUc Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 26140 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > When no version is explicitly specified in the source headers, the "or > later" is assumed. See e.g.: > > https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00026.html Oh, I wasn't aware of this nuance. Very well, then. > In addition, both of these packages ship a "debian/copyright" file that > uses the "or any later version" form: > > https://github.com/PyCQA/pylint/blob/master/debian/copyright > https://github.com/PyCQA/astroid/blob/master/debian/copyright Yeah, this is quite clear. Thanks. = --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAljPlJgACgkQLiXui2GA K7Nh8ggAoSRQVT9wRZknmmd80iYMjiy7exQ4w9sHbifa5Wic+2Z5uVS1/B60p47A dN8WKL5BR9gIHphUXOgAgOYqcrocPD03Wxv9bVrA4b6XnZFL1AdUP3sudwldTN8X GKuHfdHr8umInYo3Ci4RIOPax3h6xAzDqxpkews6SjRv2MBxEoki933TwTx/SX+j ewu0joAAyIuOUDPB+6/5Hc+mYcrWN01ZFse1irJq7qArj8IolR68vOPvZsTlZzav G63Fo3v57cF4RVAOlSwUAJyokYbceIkKq5AnbM4JNPDQVaBKmh2aLT6HZTDJr3R6 oFrHAFesyXE8pJQvcep0GBQiYVnBMA== =qnKN -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 18 14:22:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 17 Apr 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator