mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: python-tweepy: Update to 4.16.0, fix build.
* gnu/packages/python-web.scm (python-tweepy): Update to 4.16.0. [build-system]: Switch to pyproject-build-system. [arguments] <tests?>: Enable. <test-backend, test-flags>: Use 'unittest. <phases>: Use defailt 'check. [propagated-inputs]: Add python-async-lru and python-oauthlib. [native-inputs]: Add nss-certs-for-test, python-flit-core, and python-urllib3-1.26. Change-Id: I113133c6e43cfa88541f6da7579ba42643fce1bd
This commit is contained in:
parent
2764d68cb4
commit
b82086d6eb
1 changed files with 21 additions and 18 deletions
|
|
@ -12209,35 +12209,38 @@ Full documentation may be found at
|
|||
(define-public python-tweepy
|
||||
(package
|
||||
(name "python-tweepy")
|
||||
(version "4.4.0")
|
||||
(version "4.16.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri
|
||||
(git-reference
|
||||
(url "https://github.com/tweepy/tweepy")
|
||||
(commit (string-append "v" version))))
|
||||
(url "https://github.com/tweepy/tweepy")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0jl3j20iqvzqqw5q5ldval5wrc2pdx94zff3b6b87j51yjx3qjhr"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "1k99qf0h1ykz0c56wdnlsyvd6zrcsrc4rl7rnlaxrpjppxjnpcpn"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ;XXX: need /etc/ssl/certs/ca-certificates.crt
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "python" "-m" "unittest" "discover" "tests")))))))
|
||||
(propagated-inputs
|
||||
(list python-aiohttp python-requests python-requests-oauthlib))
|
||||
;; tests: 149 passed, 3 skipped, 1 warning
|
||||
(list #:test-backend #~'unittest
|
||||
#:test-flags #~(list "discover" "tests")))
|
||||
(native-inputs
|
||||
(list python-vcrpy))
|
||||
(list nss-certs-for-test
|
||||
python-flit-core
|
||||
python-urllib3-1.26
|
||||
python-vcrpy))
|
||||
(propagated-inputs
|
||||
(list python-aiohttp
|
||||
python-async-lru
|
||||
python-oauthlib
|
||||
python-requests
|
||||
python-requests-oauthlib))
|
||||
(home-page "https://www.tweepy.org/")
|
||||
(synopsis "Twitter library for Python")
|
||||
(description "This package provides @code{Tweepy}, an easy-to-use Python
|
||||
library for accessing the Twitter API.")
|
||||
(description
|
||||
"This package provides @code{Tweepy}, an easy-to-use Python library for
|
||||
accessing the Twitter API.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-quart
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue