[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/242: gnu: Add python-pcpp.
From: |
guix-commits |
Subject: |
19/242: gnu: Add python-pcpp. |
Date: |
Wed, 11 May 2022 18:02:46 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 4c1f912383c2a9fa4e6d050f1264c60bd6653f63
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Apr 1 14:10:55 2022 -0400
gnu: Add python-pcpp.
* gnu/packages/c.scm (python-pcpp): New variable.
---
gnu/packages/c.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 2680fe63f0..e14e56ad71 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -38,6 +38,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (guix store)
#:use-module (gnu packages)
@@ -144,6 +145,37 @@ compiler while still keeping it small, simple, fast and
understandable.")
;; preferred. See http://pcc.ludd.ltu.se/licenses/ for more details.
(license (list license:bsd-2 license:bsd-3))))
+(define-public python-pcpp
+ (package
+ (name "python-pcpp")
+ (version "1.30")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ned14/pcpp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1rihvlg11nzk70kfzz4i3gi5izcy46w05ismcx04p5j1hlim0brb"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'unbundle-ply
+ (lambda _
+ (rmdir "pcpp/ply")
+ (substitute* "setup.py"
+ (("'pcpp/ply/ply'") "")))))))
+ (native-inputs (list python-pytest))
+ (propagated-inputs (list python-ply))
+ (home-page "https://github.com/ned14/pcpp")
+ (synopsis "C99 preprocessor written in Python")
+ (description "This package provides a C99 preprocessor written in pure
+Python.")
+ (license license:bsd-3)))
+
(define-public libbytesize
(package
(name "libbytesize")
- 24/242: gnu: Add python-unicodedata2., (continued)
- 24/242: gnu: Add python-unicodedata2., guix-commits, 2022/05/11
- 27/242: gnu: Add python-fontpens-bootstrap., guix-commits, 2022/05/11
- 33/242: gnu: Add python-cu2qu., guix-commits, 2022/05/11
- 30/242: gnu: Add python-fontpens., guix-commits, 2022/05/11
- 34/242: gnu: Add python-ufoprocessor., guix-commits, 2022/05/11
- 47/242: gnu: python-importlib-metadata: Update to 4.11.3., guix-commits, 2022/05/11
- 55/242: gnu: Add python-pytest-enabler., guix-commits, 2022/05/11
- 52/242: gnu: Add python-jaraco-classes., guix-commits, 2022/05/11
- 64/242: gnu: Add psautohint., guix-commits, 2022/05/11
- 71/242: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/05/11
- 19/242: gnu: Add python-pcpp.,
guix-commits <=
- 21/242: gnu: Add python-opentype-sanitizer., guix-commits, 2022/05/11
- 36/242: gnu: Add python-types-toml., guix-commits, 2022/05/11
- 38/242: gnu: Add python-jaraco-context-bootstrap., guix-commits, 2022/05/11
- 49/242: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/05/11
- 63/242: gnu: Add psautohint-font-data., guix-commits, 2022/05/11
- 20/242: gnu: Add opentype-sanitizer., guix-commits, 2022/05/11
- 25/242: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/05/11
- 13/242: gnu: Add texlive-stix2-otf., guix-commits, 2022/05/11
- 54/242: gnu: Add python-jaraco-functools., guix-commits, 2022/05/11
- 56/242: gnu: Add python-path., guix-commits, 2022/05/11