From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 15/17] gnu: Update python-tzlocal to 1.2. Date: Wed, 6 Jan 2016 21:14:26 +0200 Message-ID: <20160106211426.12333f16@debian-netbook> References: <8503d99581b7a49570f6e844b21839110a9be9bb.1451865663.git.leo@famulari.name> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/Mi+/QmUyYDw6PNMXw32Vciq"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGtXV-00072W-Aw for guix-devel@gnu.org; Wed, 06 Jan 2016 14:14:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGtXS-0006GH-54 for guix-devel@gnu.org; Wed, 06 Jan 2016 14:14:33 -0500 Received: from flashner.co.il ([178.62.234.194]:33664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGtXR-0006GB-Qg for guix-devel@gnu.org; Wed, 06 Jan 2016 14:14:30 -0500 In-Reply-To: <8503d99581b7a49570f6e844b21839110a9be9bb.1451865663.git.leo@famulari.name> 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: Leo Famulari Cc: guix-devel@gnu.org --Sig_/Mi+/QmUyYDw6PNMXw32Vciq Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 3 Jan 2016 19:05:13 -0500 Leo Famulari wrote: > * gnu/packages/python.scm (python-tzlocal): Update to 1.2. > [source]: Use pypi-uri. > [arguments]: Remove the custom 'unpack phase. > [native-inputs]: Remove unzip, python-setuptools. > [propagated-inputs]: Add python-pytz. > --- > gnu/packages/python.scm | 23 ++++------------------- > 1 file changed, 4 insertions(+), 19 deletions(-) >=20 > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index fca11c1..4af9354 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -1014,31 +1014,16 @@ doing practical, real world data analysis in Pyth= on.") > (define-public python-tzlocal > (package > (name "python-tzlocal") > - (version "1.1.1") > + (version "1.2") > (source > (origin > (method url-fetch) > - (uri (string-append "https://pypi.python.org/packages/source/t/" > - "tzlocal/tzlocal-" version ".zip")) > + (uri (pypi-uri "tzlocal" version)) > (sha256 > (base32 > - "1m3y918c3chf41fwg2bx4w42bqsjzn3dyvvcmwwy13c8gj6zssv9")))) > + "12wsw2fl3adrqrwghasld57bhqdrzn0crblqrci1p5acd0ni53s3")))) > (build-system python-build-system) > - (native-inputs > - `(("unzip" ,unzip) > - ("python-setuptools" ,python-setuptools))) > - (inputs `(("python-pytz" ,python-pytz))) > - (arguments > - `(#:phases > - (alist-replace > - 'unpack > - (lambda _ > - (let ((unzip (string-append (assoc-ref %build-inputs "unzip") > - "/bin/unzip")) > - (source (assoc-ref %build-inputs "source"))) > - (and (zero? (system* unzip source)) > - (chdir (string-append "tzlocal-" ,version))))) > - %standard-phases))) > + (propagated-inputs `(("python-pytz" ,python-pytz))) > (home-page "https://github.com/regebro/tzlocal") > (synopsis > "Local timezone information for Python") This one looks good to me --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Sig_/Mi+/QmUyYDw6PNMXw32Vciq Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWjWeSAAoJEPTB05F+rO6TqvgQAIayOjZz9L2+iDgKtEHHTP0y x4GlDn7N9o0/iz959n4caxukfiZHc3dx7rf+kedVCDOHPGqCpcDHYa7eIGYbUfQT aMJnJj5He54w4aNHyluNsl8S1SdKIXWrpnKMOA/HPQL+KeqD2icF1AZ1wUZmMT91 6WgVigFlMQ6RFCWIvioVrN5fKJWNwKx+cMjX5jW0rvrrQemsDKXplX8WBNjAYIQK 3HJbk/tRVe2K6R03g9VxrR7J/Cv/5gWH8YX7mymjpvF0upTUei0yH7Ikdwf2THOy UIsbkqqaAUlLYo1XrYXfl9EwkuqIBqvM6rnaA4rjvMRA3hI/GNnIIrOwt8a/q8Eo B5+s/Tnmo7Po3x2P8YEWO97twSx5nOt23R9G1Tko4kN7LXbKtmPboiHWmWy5CCJn gNY4ESqZOtilb2JJ2rH1G5Vbc+G/pe22PyX7FRqpCSwHsz+gvI+HfuAZLm5gC3Kz aPkc1sjXb/eoCPnmPMmypGlrVmZwXFr8H191T3lr9eS/djORuDeLl+jiuXpOpDgk +mr6ZHHGn9agub/TZ4esJJB1ESDe4gCfW+HThUOBoUTMiPCI8mbmpH4VJ9OCWszr YFkPbCRg/WxM/e+YaSRpmYl1JclY7B0Ekge4JBheuvGZ44Rw8W3vZ7GTR9i2kYzE GDu0h0HS2q9GkSm/aDLZ =sBvc -----END PGP SIGNATURE----- --Sig_/Mi+/QmUyYDw6PNMXw32Vciq--