gnu: python-pysqlite: Point to the latest release tarball.

* gnu/packages/python.scm (python2-pysqlite): Change 'version' to
  "2.6.3a".  Change 'uri' to point to pypi.python.org.
  Reported by Mark H Weaver <mhw@netris.org> and others.
  Update 'home-page' and 'synopsis'.
This commit is contained in:
Ludovic Courtès 2014-02-07 23:44:26 +01:00
parent 4380a7b4b8
commit 7a03af707c

View file

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -323,24 +323,28 @@ datetime module, available in Python 2.3+.")
(define-public python2-pysqlite (define-public python2-pysqlite
(package (package
(name "python2-pysqlite") (name "python2-pysqlite")
(version "2.6.3") (version "2.6.3a") ; see below
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "http://pysqlite.googlecode.com/files/pysqlite-" ;; During the switch from code.google.com to pypi.python.org, the 2.6.3
version ".tar.gz")) ;; tarball was modified, but the version number was kept:
;; <https://lists.gnu.org/archive/html/guix-devel/2014-02/msg00077.html>.
;; Here we want to refer to the pypi-hosted 2.6.3 tarball.
(uri (string-append
"https://pypi.python.org/packages/source/p/pysqlite/pysqlite-"
"2.6.3" ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0nsqqfp072rgqbls100rdvbzkjkin7li3kprhfxlfqvzf608hlqd")))) "13djzgnbi71znjjyaw4nybg6smilgszcid646j5qav7mdchkb77y"))))
(build-system python-build-system) (build-system python-build-system)
(inputs (inputs
`(("sqlite" ,sqlite))) `(("sqlite" ,sqlite)))
(arguments (arguments
`(#:python ,python-2 ; incompatible with Python 3 `(#:python ,python-2 ; incompatible with Python 3
#:tests? #f)) ; no test target #:tests? #f)) ; no test target
(home-page "http://labix.org/python-dateutil") (home-page "https://pypi.python.org/pypi/pysqlite")
(synopsis (synopsis "SQLite bindings for Python")
"SQLite bindings for Python.")
(description (description
"Pysqlite provides SQLite bindings for Python that comply to the "Pysqlite provides SQLite bindings for Python that comply to the
Database API 2.0T.") Database API 2.0T.")