[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/26: gnu: Add python-parsley.
From: |
guix-commits |
Subject: |
15/26: gnu: Add python-parsley. |
Date: |
Wed, 14 Jun 2023 07:58:53 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 0ce76141bfe52b7c65d6185d036b4eaad2a0f0a3
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue May 30 20:58:40 2023 +0100
gnu: Add python-parsley.
* gnu/packages/python-xyz.scm (python-parsley): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f2d04a1307..8cacdd5796 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3829,6 +3829,39 @@ matplotlib plots or supply colors for a web
application.")
syntax.")
(license license:x11)))
+(define-public python-parsley
+ (package
+ (name "python-parsley")
+ (version "1.3")
+ (source (origin
+ ;; The source distributed on PyPI is outdated.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pyga/parsley")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0550rw65ygqzbjc8a66hs355pzbx727kbn20dssdb6ls846gw2qs"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; XXX: Check why these 3 tests fail.
+ #:test-flags #~(list "-k"
+ (string-append "not test_sending_empty_netstring"
+ " and not test_sending_one_netstring"
+ " and not test_sending_two_netstrings"))))
+ (native-inputs (list python-pytest python-twisted))
+ (home-page "https://launchpad.net/parsley")
+ (synopsis "Parsing and pattern matching Python library")
+ (description
+ "Parsley is a parsing library using PEG algorithm, so each expression in
+the grammar rules works like a Python expression. In particular, alternatives
+are evaluated in order, unlike table-driven parsers such as yacc, bison or PLY.
+Parsley is an implementation of OMeta, an object-oriented pattern-matching
+language.")
+ (license license:expat)))
+
(define-public python-polib
(package
(name "python-polib")
- branch master updated (59e27b23ed -> 9edf093e58), guix-commits, 2023/06/14
- 03/26: gnu: image: Add support for unformatted partitions., guix-commits, 2023/06/14
- 02/26: gnu: bootloader: Add u-boot-sifive-unmatched-bootloader., guix-commits, 2023/06/14
- 06/26: gnu: Add python-pysynphot., guix-commits, 2023/06/14
- 04/26: system: images: Add unmatched module., guix-commits, 2023/06/14
- 09/26: gnu: Add python-stsci-image., guix-commits, 2023/06/14
- 05/26: gnu: glibc-2.33: Fix building for riscv64-linux., guix-commits, 2023/06/14
- 10/26: gnu: Add python-stsci-imagestats., guix-commits, 2023/06/14
- 12/26: gnu: Add python-tweakwcs., guix-commits, 2023/06/14
- 15/26: gnu: Add python-parsley.,
guix-commits <=
- 16/26: gnu: Add python-crds., guix-commits, 2023/06/14
- 22/26: gnu: Add python-stcal., guix-commits, 2023/06/14
- 01/26: gnu: opencv: Fix building on riscv64-linux., guix-commits, 2023/06/14
- 07/26: gnu: Add python-rad., guix-commits, 2023/06/14
- 08/26: gnu: Add python-roman-datamodels., guix-commits, 2023/06/14
- 11/26: gnu: Add python-stsci-stimage., guix-commits, 2023/06/14
- 13/26: gnu: Add python-synphot., guix-commits, 2023/06/14
- 19/26: gnu: Add python-bayesicfitting., guix-commits, 2023/06/14
- 23/26: gnu: Add python-jwst., guix-commits, 2023/06/14
- 26/26: gnu: python-blosc: Enable tests., guix-commits, 2023/06/14