From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH v2 4/6] gnu: Add python-reno. Date: Wed, 18 Jan 2017 18:51:07 +0100 Message-ID: <87vatc8df8.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <8737gxxza3.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170118075305.29573-1-dannym@scratchpost.org> <20170118075305.29573-5-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTuO7-0007sx-7B for guix-devel@gnu.org; Wed, 18 Jan 2017 12:51:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTuO6-0006FH-9a for guix-devel@gnu.org; Wed, 18 Jan 2017 12:51:11 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50909) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTuO6-0006F9-5F for guix-devel@gnu.org; Wed, 18 Jan 2017 12:51:10 -0500 In-Reply-To: <20170118075305.29573-5-dannym@scratchpost.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" To: Danny Milosavljevic , guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Danny Milosavljevic writes: > * gnu/packages/openstack.scm (python-reno, python-reno2): New variables. > --- > gnu/packages/openstack.scm | 42 ++++++++++++++++++++++++++++++++++++++++= ++ > 1 file changed, 42 insertions(+) > > diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm > index b3e3f08c2..0e50236af 100644 > --- a/gnu/packages/openstack.scm > +++ b/gnu/packages/openstack.scm > @@ -19,6 +19,7 @@ > ;;; along with GNU Guix. If not, see . >=20=20 > (define-module (gnu packages openstack) > + #:use-module (gnu packages gnupg) > #:use-module (gnu packages python) > #:use-module (gnu packages ssh) > #:use-module (gnu packages tls) > @@ -550,6 +551,47 @@ in transmittable and storable formats, such as JSON = and MessagePack.") > (define-public python2-oslo.serialization > (package-with-python2 python-oslo.serialization)) >=20=20 > +(define-public python-reno > + (package > + (name "python-reno") > + (version "2.0.3") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "reno" version)) > + (sha256 > + (base32 "1i2wnn5fnm3jm5774pahg000q0lma5i913hml91bbbm2mybphndd"= )))) > + (build-system python-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-before 'check 'init-git > + (lambda _ > + ;; reno expects a git repo > + (zero? (system* "git" "init"))))))) Heh. Why doesn't reno init on its own, then. Oh well. LGTM! > + (propagated-inputs > + `(("python-babel" ,python-babel) > + ("python-dulwich" ,python-dulwich) > + ("python-pyyaml" ,python-pyyaml) > + ("python-six" ,python-six))) > + (native-inputs > + `(("python-testtools" ,python-testtools) > + ("python-pbr" ,python-pbr) > + ("python-testscenarios" ,python-testscenarios) > + ("python-testrepository" ,python-testrepository) > + ("python-mock" ,python-mock) > + ("python-oslotest" ,python-oslotest) > + ("gnupg" ,gnupg) > + ("git" ,git))) > + (home-page "http://docs.openstack.org/developer/reno/") > + (synopsis "Release notes manager") > + (description "Reno is a tool for storing release notes in a git repo= sitory > +and building documentation from them.") > + (license asl2.0))) > + > +(define-public python2-reno > + (package-with-python2 python-reno)) > + > (define-public python-oslosphinx > (package > (name "python-oslosphinx") --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlh/qwsACgkQoqBt8qM6 VPqEpgf/cwX/QZK1lE/F7/FuRi8bTeZDLCK4rcxA3QJxFailk+dbMbdcsaD1/P9U f7fX54oCOCN8h2j9goK57577UM4UEEY5FhvqPIW2BpTzk/k08Jx+1mx51rKlJdGW IxcIHyqToOJxAV+SFnt/ilE1JBcqr2pkio8T4j8dsuNpUu0B/z2T62IeDzt8dS6c jExroR42VfhoPUWL+r2aSG/pmOIrbDwLmOI9adTkwO1hgj30SNWg3CiHNVR4fpk2 5EU34M4oYuRO+kWOHdLkIPWAhn0sUE3ZwE6c74UjGCZhtGelETttP1rz9FXj0tq4 3GiqG+EHSc+svV9KxSKNhiVERECm4g== =rWb7 -----END PGP SIGNATURE----- --=-=-=--