* [PR PATCH] python3-tweepy: update to 3.9.0.
@ 2020-12-06 17:04 ndowens
2020-12-17 3:33 ` ndowens
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ndowens @ 2020-12-06 17:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
There is a new pull request by ndowens against master on the void-packages repository
https://github.com/ndowens/void-packages python-tweepy
https://github.com/void-linux/void-packages/pull/26992
python3-tweepy: update to 3.9.0.
A patch file from https://github.com/void-linux/void-packages/pull/26992.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-tweepy-26992.patch --]
[-- Type: text/x-diff, Size: 1672 bytes --]
From ce610963828a62245b17b1b164ff11fde4f6fcd0 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Sun, 6 Dec 2020 11:04:25 -0600
Subject: [PATCH] python3-tweepy: update to 3.9.0.
---
srcpkgs/python3-tweepy/template | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-tweepy/template b/srcpkgs/python3-tweepy/template
index 0acc2549ea0..0a0861897c6 100644
--- a/srcpkgs/python3-tweepy/template
+++ b/srcpkgs/python3-tweepy/template
@@ -1,23 +1,25 @@
# Template file for 'python3-tweepy'
pkgname=python3-tweepy
-version=3.8.0
-revision=4
+version=3.9.0
+revision=1
wrksrc="tweepy-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-requests-oauthlib python3-six python3-pysocks"
+checkdepends="python3-nose"
short_desc="Twitter library for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/tweepy/tweepy"
-distfiles="${PYPI_SITE}/t/tweepy/tweepy-${version}.tar.gz
- https://raw.githubusercontent.com/tweepy/tweepy/v$version/LICENSE"
-checksum="8abd828ba51a85a2b5bb7373715d6d3bb32d18ac624e3a4db02e4ef8ab48316b
- bf9bc5b9dcb8421bb3c342bb7fd29194688e1262b50766bd71b21a07461e74b7"
-skip_extraction="LICENSE"
+distfiles="https://github.com/tweepy/tweepy/archive/v${version}.tar.gz"
+checksum=2b7ec06cc5d143396423a5eae16b198e69b93df2bc6044f1365270c805e940b7
+
+do_check() {
+ python3 setup.py nosetests
+}
post_install() {
- vlicense $XBPS_SRCDISTDIR/$pkgname-$version/LICENSE
+ vlicense LICENSE
# remove examples from site-packages root
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/examples
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: python3-tweepy: update to 3.9.0.
2020-12-06 17:04 [PR PATCH] python3-tweepy: update to 3.9.0 ndowens
@ 2020-12-17 3:33 ` ndowens
2020-12-17 3:49 ` ahesford
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ndowens @ 2020-12-17 3:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 712 bytes --]
New comment by ndowens on void-packages repository
https://github.com/void-linux/void-packages/pull/26992#issuecomment-747182691
Comment:
> Just drop the `nose` tests. The test suite fetches prebuilt wheels and doesn't really test the pacakge as built against the other packages provided by Void. I tried to get it working with `pytest`, but it requires `pytest-vcr` not provided by Void.
>
> After removing tests, you can go back to PyPI to get the tarball, unless that tarball is missing th license. In that case, prefer the GitHub tarball to avoid doing a separate fetch of the license.
Yea the PYPI one doesn't have license file, and wouldn't GH actions error out now because of build & check stage?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: python3-tweepy: update to 3.9.0.
2020-12-06 17:04 [PR PATCH] python3-tweepy: update to 3.9.0 ndowens
2020-12-17 3:33 ` ndowens
@ 2020-12-17 3:49 ` ahesford
2020-12-17 4:25 ` [PR PATCH] [Updated] " ndowens
2020-12-17 4:49 ` [PR PATCH] [Merged]: " ahesford
3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2020-12-17 3:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/26992#issuecomment-747187067
Comment:
OK, stick with the GH tarball, but just disable the checks:
```bash
do_check() {
: requires package not provided by Void
}
```
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] python3-tweepy: update to 3.9.0.
2020-12-06 17:04 [PR PATCH] python3-tweepy: update to 3.9.0 ndowens
2020-12-17 3:33 ` ndowens
2020-12-17 3:49 ` ahesford
@ 2020-12-17 4:25 ` ndowens
2020-12-17 4:49 ` [PR PATCH] [Merged]: " ahesford
3 siblings, 0 replies; 5+ messages in thread
From: ndowens @ 2020-12-17 4:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 392 bytes --]
There is an updated pull request by ndowens against master on the void-packages repository
https://github.com/ndowens/void-packages python-tweepy
https://github.com/void-linux/void-packages/pull/26992
python3-tweepy: update to 3.9.0.
Switched to GH for test and it includes license file by default.
A patch file from https://github.com/void-linux/void-packages/pull/26992.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-tweepy-26992.patch --]
[-- Type: text/x-diff, Size: 1609 bytes --]
From 5ae60fff2d74383e19053befe2d72078b341fdf7 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Sun, 6 Dec 2020 11:04:25 -0600
Subject: [PATCH] python3-tweepy: update to 3.9.0.
---
srcpkgs/python3-tweepy/template | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-tweepy/template b/srcpkgs/python3-tweepy/template
index 0acc2549ea0..921520e09c3 100644
--- a/srcpkgs/python3-tweepy/template
+++ b/srcpkgs/python3-tweepy/template
@@ -1,7 +1,7 @@
# Template file for 'python3-tweepy'
pkgname=python3-tweepy
-version=3.8.0
-revision=4
+version=3.9.0
+revision=1
wrksrc="tweepy-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
@@ -10,14 +10,15 @@ short_desc="Twitter library for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/tweepy/tweepy"
-distfiles="${PYPI_SITE}/t/tweepy/tweepy-${version}.tar.gz
- https://raw.githubusercontent.com/tweepy/tweepy/v$version/LICENSE"
-checksum="8abd828ba51a85a2b5bb7373715d6d3bb32d18ac624e3a4db02e4ef8ab48316b
- bf9bc5b9dcb8421bb3c342bb7fd29194688e1262b50766bd71b21a07461e74b7"
-skip_extraction="LICENSE"
+distfiles="https://github.com/tweepy/tweepy/archive/v${version}.tar.gz"
+checksum=2b7ec06cc5d143396423a5eae16b198e69b93df2bc6044f1365270c805e940b7
+
+do_check() {
+ : # requires packages not provided by Void
+}
post_install() {
- vlicense $XBPS_SRCDISTDIR/$pkgname-$version/LICENSE
+ vlicense LICENSE
# remove examples from site-packages root
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/examples
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Merged]: python3-tweepy: update to 3.9.0.
2020-12-06 17:04 [PR PATCH] python3-tweepy: update to 3.9.0 ndowens
` (2 preceding siblings ...)
2020-12-17 4:25 ` [PR PATCH] [Updated] " ndowens
@ 2020-12-17 4:49 ` ahesford
3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2020-12-17 4:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
There's a merged pull request on the void-packages repository
python3-tweepy: update to 3.9.0.
https://github.com/void-linux/void-packages/pull/26992
Description:
Switched to GH for test and it includes license file by default.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-17 4:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 17:04 [PR PATCH] python3-tweepy: update to 3.9.0 ndowens
2020-12-17 3:33 ` ndowens
2020-12-17 3:49 ` ahesford
2020-12-17 4:25 ` [PR PATCH] [Updated] " ndowens
2020-12-17 4:49 ` [PR PATCH] [Merged]: " ahesford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).