mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Add 'pyconfigure'.
* gnu/packages/autotools.scm (pyconfigure): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
8bf127d5ab
commit
bfe88e0c6e
1 changed files with 36 additions and 0 deletions
|
@ -27,6 +27,7 @@ (define-module (gnu packages autotools)
|
||||||
#:use-module (guix licenses)
|
#:use-module (guix licenses)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
|
#:use-module (gnu packages python)
|
||||||
#:use-module (gnu packages m4)
|
#:use-module (gnu packages m4)
|
||||||
#:use-module (gnu packages man)
|
#:use-module (gnu packages man)
|
||||||
#:use-module (gnu packages bash)
|
#:use-module (gnu packages bash)
|
||||||
|
@ -420,3 +421,38 @@ (define-public libltdl
|
||||||
(description (package-description libtool))
|
(description (package-description libtool))
|
||||||
(home-page (package-home-page libtool))
|
(home-page (package-home-page libtool))
|
||||||
(license lgpl2.1+)))
|
(license lgpl2.1+)))
|
||||||
|
|
||||||
|
(define-public pyconfigure
|
||||||
|
(package
|
||||||
|
(name "pyconfigure")
|
||||||
|
(version "0.2.3")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://gnu/pyconfigure/pyconfigure-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0kxi9bg7l6ric39vbz9ykz4a21xlihhh2zcc3297db8amvhqwhrp"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'patch-python
|
||||||
|
(lambda _
|
||||||
|
(substitute* "pyconf.in"
|
||||||
|
(("/usr/bin/env python") (which "python3")))
|
||||||
|
#t)))))
|
||||||
|
(inputs
|
||||||
|
`(("python" ,python-3)))
|
||||||
|
(synopsis "@command{configure} interface for Python-based packages")
|
||||||
|
(description
|
||||||
|
"GNU pyconfigure provides template files for easily implementing
|
||||||
|
standards-compliant configure scripts and Makefiles for Python-based packages.
|
||||||
|
It is designed to work alongside existing Python setup scripts, making it easy
|
||||||
|
to integrate into existing projects. Powerful and flexible Autoconf macros
|
||||||
|
are available, allowing you to easily make adjustments to the installation
|
||||||
|
procedure based on the capabilities of the target computer.")
|
||||||
|
(home-page "https://www.gnu.org/software/pyconfigure/manual/")
|
||||||
|
(license
|
||||||
|
(fsf-free
|
||||||
|
"https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html"))))
|
||||||
|
|
Loading…
Reference in a new issue