From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: [PATCH] import: Add PyPI importer. Date: Mon, 29 Sep 2014 19:31:43 -0400 Message-ID: <87y4t2knq8.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <8761g8ojde.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <8738bcoj77.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <874mvsg31g.fsf@gnu.org> <87fvfazn4z.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <877g0mzk9y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYkQS-0003b2-G2 for guix-devel@gnu.org; Mon, 29 Sep 2014 19:32:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYkQM-0002Lf-NH for guix-devel@gnu.org; Mon, 29 Sep 2014 19:32:16 -0400 Received: from na6sys009bog039.obsmtp.com ([74.125.150.113]:48062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYkQM-0002L1-JR for guix-devel@gnu.org; Mon, 29 Sep 2014 19:32:10 -0400 Received: by mail-qc0-f173.google.com with SMTP id x13so601394qcv.4 for ; Mon, 29 Sep 2014 16:31:46 -0700 (PDT) In-Reply-To: <877g0mzk9y.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > David Thompson skribis: > >> Oh yeah, almost forgot about the Automake rule! My autotools skills are >> weak so I'm not sure how to write this. Could you point me in the right >> direction? > > In configure.ac, do something like: > > GUILE_MODULE_AVAILABLE([have_guile_json], [(json)]) > AM_CONDITIONAL([HAVE_GUILE_JSON], [text "x$have_guile_json" =3D "xyes"]) > > and in Makefile.am: > > if HAVE_GUILE_JSON > TESTS +=3D tests/pypi.scm > endif Done and pushed! Thanks! --=20 David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate