From: cpixl <cpixl@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python-dogpile.cache: update to 1.0.2.
Date: Wed, 02 Sep 2020 21:43:31 +0200 [thread overview]
Message-ID: <20200902194331.IHYX5ILmJgHvONl5tjz43o8Y9GrYCXaU_dqvQxMY6zo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24471@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 337 bytes --]
There is an updated pull request by cpixl against master on the void-packages repository
https://github.com/cpixl/void-packages python-dogpile.cache
https://github.com/void-linux/void-packages/pull/24471
python-dogpile.cache: update to 1.0.2.
A patch file from https://github.com/void-linux/void-packages/pull/24471.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-dogpile.cache-24471.patch --]
[-- Type: text/x-diff, Size: 6873 bytes --]
From b04ca5f916c5ed2b19eba397fbd9d30cbae74f17 Mon Sep 17 00:00:00 2001
From: Daniel Santana <daniel@santana.tech>
Date: Tue, 25 Aug 2020 14:24:52 -0300
Subject: [PATCH 1/2] python3-dogpile.cache: update to 1.0.2.
This update drops the python-dogpile.cache package, as Python 2 is not
supported anymore since 1.0.2.
---
srcpkgs/python3-dogpile.cache | 1 -
.../template | 24 ++++++-------------
2 files changed, 7 insertions(+), 18 deletions(-)
delete mode 120000 srcpkgs/python3-dogpile.cache
rename srcpkgs/{python-dogpile.cache => python3-dogpile.cache}/template (52%)
diff --git a/srcpkgs/python3-dogpile.cache b/srcpkgs/python3-dogpile.cache
deleted file mode 120000
index 924a1d09742..00000000000
--- a/srcpkgs/python3-dogpile.cache
+++ /dev/null
@@ -1 +0,0 @@
-python-dogpile.cache
\ No newline at end of file
diff --git a/srcpkgs/python-dogpile.cache/template b/srcpkgs/python3-dogpile.cache/template
similarity index 52%
rename from srcpkgs/python-dogpile.cache/template
rename to srcpkgs/python3-dogpile.cache/template
index 0978b7e168c..98245fbd219 100644
--- a/srcpkgs/python-dogpile.cache/template
+++ b/srcpkgs/python3-dogpile.cache/template
@@ -1,35 +1,25 @@
-# Template file for 'python-dogpile.cache'
-pkgname=python-dogpile.cache
-version=1.0.1
+# Template file for 'python3-dogpile.cache'
+pkgname=python3-dogpile.cache
+version=1.0.2
revision=1
archs=noarch
wrksrc="dogpile.cache-${version}"
-build_style=python-module
+build_style=python3-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python python-decorator"
checkdepends="python3-decorator tox"
-short_desc="Caching front-end based on the Dogpile lock (Python2)"
+short_desc="Caching front-end based on the Dogpile lock"
maintainer="Daniel Santana <daniel@santana.tech>"
license="BSD-3-Clause"
homepage="https://github.com/sqlalchemy/dogpile.cache"
changelog="https://github.com/sqlalchemy/dogpile.cache/raw/master/docs/build/changelog.rst"
distfiles="${PYPI_SITE}/d/dogpile.cache/dogpile.cache-${version}.tar.gz"
-checksum=695dd61f32d97233d5c5e1d7ac1238f5116391ea990b4b24a239229e280bf36e
+checksum=64fda39d25b46486a4876417ca03a4af06f35bfadba9f59613f9b3d748aa21ef
do_check() {
- tox -e py27,py${py3_ver/./}
+ tox -e py${py3_ver/./}
}
post_install() {
vlicense LICENSE
}
-
-python3-dogpile.cache_package() {
- archs=noarch
- depends="python3 python3-decorator"
- short_desc="${short_desc/Python2/Python3}"
- pkg_install() {
- vmove usr/lib/python3*
- vlicense LICENSE
- }
-}
From ef66c929f36a05f227756d7dc1788e67f288a9af Mon Sep 17 00:00:00 2001
From: Daniel Santana <daniel@santana.tech>
Date: Mon, 31 Aug 2020 12:18:15 -0300
Subject: [PATCH 2/2] New package: subliminal-2.1.0
This was moved from python3-subliminal, as python-subliminal package
required python-dogpile.cache, which has dropped Python 2 support.
---
srcpkgs/python-subliminal | 1 +
srcpkgs/python-subliminal/template | 39 ------------------------------
srcpkgs/python3-subliminal | 2 +-
srcpkgs/subliminal/template | 38 +++++++++++++++++++++++++++++
4 files changed, 40 insertions(+), 40 deletions(-)
create mode 120000 srcpkgs/python-subliminal
delete mode 100644 srcpkgs/python-subliminal/template
create mode 100644 srcpkgs/subliminal/template
diff --git a/srcpkgs/python-subliminal b/srcpkgs/python-subliminal
new file mode 120000
index 00000000000..b03131f9466
--- /dev/null
+++ b/srcpkgs/python-subliminal
@@ -0,0 +1 @@
+subliminal
\ No newline at end of file
diff --git a/srcpkgs/python-subliminal/template b/srcpkgs/python-subliminal/template
deleted file mode 100644
index 74dcf00ebdd..00000000000
--- a/srcpkgs/python-subliminal/template
+++ /dev/null
@@ -1,39 +0,0 @@
-# Template file for 'python-subliminal'
-pkgname=python-subliminal
-version=2.1.0
-revision=2
-archs=noarch
-wrksrc="subliminal-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python python-guessit python-babelfish python-enzyme
- python-BeautifulSoup4 python-requests python-click python-dogpile.cache
- python-stevedore python-chardet python-pysrt python-six python-appdirs
- python-rarfile python-pytz"
-short_desc="Subtitles, faster than your thoughts (Python2)"
-maintainer="Daniel Santana <daniel@santana.tech>"
-license="MIT"
-homepage="http://subliminal.readthedocs.org"
-changelog="https://github.com/Diaoul/subliminal/blob/master/HISTORY.rst"
-distfiles="${PYPI_SITE}/s/subliminal/subliminal-${version}.tar.gz"
-checksum=c6439cc733a4f37f01f8c14c096d44fd28d75d1f6f6e2d1d1003b1b82c65628b
-alternatives="subliminal:subliminal:/usr/bin/subliminal2"
-
-post_install() {
- vlicense LICENSE
-}
-
-python3-subliminal_package() {
- archs=noarch
- depends="python3 python3-guessit python3-babelfish python3-enzyme
- python3-BeautifulSoup4 python3-requests python3-click python3-dogpile.cache
- python3-stevedore python3-chardet python3-pysrt python3-six python3-appdirs
- python3-rarfile python3-pytz"
- short_desc="${short_desc/Python2/Python3}"
- alternatives="subliminal:subliminal:/usr/bin/subliminal3"
- pkg_install() {
- vmove usr/bin/subliminal3
- vmove usr/lib/python3*
- vlicense LICENSE
- }
-}
diff --git a/srcpkgs/python3-subliminal b/srcpkgs/python3-subliminal
index 65210ec26fd..b03131f9466 120000
--- a/srcpkgs/python3-subliminal
+++ b/srcpkgs/python3-subliminal
@@ -1 +1 @@
-python-subliminal
\ No newline at end of file
+subliminal
\ No newline at end of file
diff --git a/srcpkgs/subliminal/template b/srcpkgs/subliminal/template
new file mode 100644
index 00000000000..1d93d421276
--- /dev/null
+++ b/srcpkgs/subliminal/template
@@ -0,0 +1,38 @@
+# Template file for 'subliminal'
+pkgname=subliminal
+version=2.1.0
+revision=3
+archs=noarch
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 python3-guessit python3-babelfish python3-enzyme
+ python3-BeautifulSoup4 python3-requests python3-click python3-dogpile.cache
+ python3-stevedore python3-chardet python3-pysrt python3-six python3-appdirs
+ python3-rarfile python3-pytz"
+short_desc="Subtitles, faster than your thoughts"
+maintainer="Daniel Santana <daniel@santana.tech>"
+license="MIT"
+homepage="http://subliminal.readthedocs.org"
+changelog="https://github.com/Diaoul/subliminal/blob/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/s/subliminal/subliminal-${version}.tar.gz"
+checksum=c6439cc733a4f37f01f8c14c096d44fd28d75d1f6f6e2d1d1003b1b82c65628b
+
+do_check() {
+ : # pypi tarball has no tests
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+python-subliminal_package() {
+ build_style=meta
+ depends="subliminal>=${version}_${revision}"
+ short_desc+=" (transitional dummy package)"
+}
+
+python3-subliminal_package() {
+ build_style=meta
+ depends="subliminal>=${version}_${revision}"
+ short_desc+=" (transitional dummy package)"
+}
next prev parent reply other threads:[~2020-09-02 19:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-25 17:25 [PR PATCH] " cpixl
2020-08-25 21:12 ` Chocimier
2020-08-31 15:19 ` [PR PATCH] [Updated] " cpixl
2020-08-31 15:20 ` cpixl
2020-08-31 15:24 ` [PR PATCH] [Updated] " cpixl
2020-08-31 16:37 ` Chocimier
2020-08-31 17:53 ` [PR PATCH] [Updated] " cpixl
2020-08-31 18:43 ` cpixl
2020-08-31 19:41 ` cpixl
2020-09-01 20:00 ` [PR REVIEW] " Chocimier
2020-09-01 20:00 ` Chocimier
2020-09-02 19:43 ` cpixl [this message]
2020-09-02 19:43 ` cpixl
2020-09-02 19:44 ` cpixl
2020-09-02 20:14 ` [PR PATCH] [Merged]: " Chocimier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200902194331.IHYX5ILmJgHvONl5tjz43o8Y9GrYCXaU_dqvQxMY6zo@z \
--to=cpixl@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).