[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/21: gnu: Add python-resolvelib.
From: |
guix-commits |
Subject: |
04/21: gnu: Add python-resolvelib. |
Date: |
Sun, 29 Aug 2021 01:16:30 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit afcbaadac5d6add0bb493471220d81d4acb630e5
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Aug 24 10:12:16 2021 -0400
gnu: Add python-resolvelib.
* gnu/packages/python-xyz.scm (python-resolvelib): New variable.
---
gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3215d91..83db31a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10188,6 +10188,40 @@ files with Python and JavaScript style inline
comments. Its API is very
similar to the Python standard library's @code{json} module.")
(license license:expat)))
+(define-public python-resolvelib
+ (package
+ (name "python-resolvelib")
+ (version "0.7.1")
+ (source
+ (origin
+ ;; Tests are missing from the PyPI release.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sarugaku/resolvelib")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1fqz75riagizihvf4j7wc3zjw6kmg1dd8sf49aszyml105kb33n8"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest")))))))
+ (native-inputs
+ `(("python-commentjson" ,python-commentjson)
+ ("python-packaging" ,python-packaging)
+ ("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/sarugaku/resolvelib")
+ (synopsis "Abstract dependencies resolver")
+ (description "The ResolveLib library provides a @code{Resolver} class that
+includes dependency resolution logic.")
+ (license license:isc)))
+
(define-public python-commonmark
(package
(name "python-commonmark")
- 01/21: gnu: bootloader: Support multiple targets., (continued)
- 01/21: gnu: bootloader: Support multiple targets., guix-commits, 2021/08/29
- 05/21: gnu: Add python-resolvelib-0.5., guix-commits, 2021/08/29
- 02/21: Migrate to the new 'targets' field of bootloader-configuration., guix-commits, 2021/08/29
- 08/21: gnu: python-pytest-6: Update to 6.2.4 and propagate iniconfig., guix-commits, 2021/08/29
- 09/21: gnu: python-execnet: Update to 1.9.0 and enable tests., guix-commits, 2021/08/29
- 10/21: gnu: python-rope: Update to 0.19.0 and remove python2-rope., guix-commits, 2021/08/29
- 12/21: gnu: python-py-next: Update to 1.10.0., guix-commits, 2021/08/29
- 14/21: gnu: python-pytest-asyncio: Enable tests and patch for Python 3.8., guix-commits, 2021/08/29
- 16/21: gnu: python-pytest-xdist: Fix by downgrading to 1.34.0, run test suite., guix-commits, 2021/08/29
- 20/21: gnu: python-django: Update to 3.2.6., guix-commits, 2021/08/29
- 04/21: gnu: Add python-resolvelib.,
guix-commits <=
- 06/21: gnu: Add python-ncclient., guix-commits, 2021/08/29
- 07/21: gnu: Add python-pyspnego., guix-commits, 2021/08/29
- 11/21: gnu: python-mock: Update description., guix-commits, 2021/08/29
- 19/21: gnu: ansible: Update to 4.4.0., guix-commits, 2021/08/29
- 15/21: gnu: python-pytest-mock: Update to 3.6.1 and run test suite., guix-commits, 2021/08/29
- 13/21: gnu: python-pytest-forked: Update to 1.3.0 and run test suite., guix-commits, 2021/08/29
- 18/21: gnu: Add ansible-core., guix-commits, 2021/08/29
- 21/21: gnu: python-pytest-django: Update to 4.4.0., guix-commits, 2021/08/29
- 17/21: gnu: Add python-pytest-xdist-next., guix-commits, 2021/08/29