mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 12:00:35 +02:00
gnu: python-orator: Move to (gnu packages databases).
* gnu/packages/python.scm: Remove (gnu packages time) import. (python-orator, python2-orator): Move from here ... * gnu/packages/databases.scm: ... to here.
This commit is contained in:
parent
77e5c37032
commit
da1f7a9e16
2 changed files with 56 additions and 55 deletions
|
@ -109,7 +109,6 @@
|
|||
#:use-module (gnu packages statistics)
|
||||
#:use-module (gnu packages tex)
|
||||
#:use-module (gnu packages texinfo)
|
||||
#:use-module (gnu packages time)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages version-control)
|
||||
#:use-module (gnu packages video)
|
||||
|
@ -12230,59 +12229,6 @@ mocks, stubs and fakes.")
|
|||
(define-public python2-flexmock
|
||||
(package-with-python2 python-flexmock))
|
||||
|
||||
(define-public python-orator
|
||||
(package
|
||||
(name "python-orator")
|
||||
(version "0.9.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "orator" version))
|
||||
(sha256
|
||||
(base32
|
||||
"14r58z64fdp76ixnvmi4lni762b405ynmsx6chr1qihs3yl9zn6c"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'loosen-dependencies
|
||||
;; Tests are not actually run since they are not included with the
|
||||
;; distributed package, but dependencies are checked.
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
((",<.*'") "'")
|
||||
(("flexmock==0.9.7") "flexmock")
|
||||
;; The pytest-mock package is out of date, so we remove minimum
|
||||
;; version requirement.
|
||||
(("pytest-mock.*'") "pytest-mock'"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("python-pytest-mock" ,python-pytest-mock)
|
||||
("python-pytest" ,python-pytest-3.0)
|
||||
("python-flexmock" ,python-flexmock)))
|
||||
(propagated-inputs
|
||||
`(("python-backpack" ,python-backpack)
|
||||
("python-blinker" ,python-blinker)
|
||||
("python-cleo" ,python-cleo)
|
||||
("python-faker" ,python-faker)
|
||||
("python-inflection" ,python-inflection)
|
||||
("python-lazy-object-proxy" ,python-lazy-object-proxy)
|
||||
("python-pendulum" ,python-pendulum)
|
||||
("python-pyaml" ,python-pyaml)
|
||||
("python-pygments" ,python-pygments)
|
||||
("python-simplejson" ,python-simplejson)
|
||||
("python-six" ,python-six)
|
||||
("python-wrapt" ,python-wrapt)))
|
||||
(home-page "https://orator-orm.com/")
|
||||
(synopsis "ActiveRecord ORM for Python")
|
||||
(description
|
||||
"Orator provides a simple ActiveRecord-like Object Relational Mapping
|
||||
implementation for Python.")
|
||||
(license license:expat)
|
||||
(properties `((python2-variant . ,(delay python2-orator))))))
|
||||
|
||||
(define-public python2-orator
|
||||
(package-with-python2 (strip-python2-variant python-orator)))
|
||||
|
||||
(define-public python-prompt-toolkit
|
||||
(package
|
||||
(name "python-prompt-toolkit")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue