Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python-alembic: remove py2, drop noarch
@ 2020-09-14 21:33 Chocimier
  2020-09-15 18:53 ` [PR PATCH] [Merged]: " Chocimier
  0 siblings, 1 reply; 2+ messages in thread
From: Chocimier @ 2020-09-14 21:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is a new pull request by Chocimier against master on the void-packages repository

https://github.com/Chocimier/void-packages-org alembic
https://github.com/void-linux/void-packages/pull/24914

python-alembic: remove py2, drop noarch


A patch file from https://github.com/void-linux/void-packages/pull/24914.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-alembic-24914.patch --]
[-- Type: text/x-diff, Size: 4132 bytes --]

From 7b8accf8ac40875730ece2c731f936ae567c4eaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Mon, 14 Sep 2020 22:53:18 +0200
Subject: [PATCH 1/2] python-alembic: remove

---
 srcpkgs/python-alembic/template  | 36 --------------------------------
 srcpkgs/python3-alembic          |  1 -
 srcpkgs/python3-alembic/template | 25 ++++++++++++++++++++++
 3 files changed, 25 insertions(+), 37 deletions(-)
 delete mode 100644 srcpkgs/python-alembic/template
 delete mode 120000 srcpkgs/python3-alembic
 create mode 100644 srcpkgs/python3-alembic/template

diff --git a/srcpkgs/python-alembic/template b/srcpkgs/python-alembic/template
deleted file mode 100644
index 06f865c456d..00000000000
--- a/srcpkgs/python-alembic/template
+++ /dev/null
@@ -1,36 +0,0 @@
-# Template file for 'python-alembic'
-pkgname=python-alembic
-version=1.4.2
-revision=2
-archs=noarch
-wrksrc="alembic-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python-Mako python-SQLAlchemy python-dateutil python-editor"
-checkdepends="${depends} ${depends//python-/python3-} python3-devel
- python-pytest python3-pytest python-mock tox"
-short_desc="Database migration tool for SQLAlchemy (Python2)"
-maintainer="Piotr Wójcik <chocimier@tlen.pl>"
-license="MIT"
-homepage="https://github.com/sqlalchemy/alembic"
-distfiles="${PYPI_SITE}/a/alembic/alembic-${version}.tar.gz"
-checksum=035ab00497217628bf5d0be82d664d8713ab13d37b630084da8e1f98facf4dbf
-
-do_check() {
-	tox -e py27,py${py3_ver/./}
-}
-
-post_install() {
-	vlicense LICENSE
-}
-
-python3-alembic_package() {
-	archs=noarch
-	depends="python3-Mako python3-SQLAlchemy python3-dateutil python3-editor"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/bin/*3
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-alembic b/srcpkgs/python3-alembic
deleted file mode 120000
index 3b0582ddf8a..00000000000
--- a/srcpkgs/python3-alembic
+++ /dev/null
@@ -1 +0,0 @@
-python-alembic
\ No newline at end of file
diff --git a/srcpkgs/python3-alembic/template b/srcpkgs/python3-alembic/template
new file mode 100644
index 00000000000..2a6fd5bb1a2
--- /dev/null
+++ b/srcpkgs/python3-alembic/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-alembic'
+pkgname=python3-alembic
+version=1.4.2
+revision=2
+archs=noarch
+wrksrc="alembic-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Mako python3-SQLAlchemy python3-dateutil python3-editor"
+checkdepends="${depends} python3-devel
+ python3-pytest tox"
+short_desc="Database migration tool for SQLAlchemy (Python3)"
+maintainer="Piotr Wójcik <chocimier@tlen.pl>"
+license="MIT"
+homepage="https://github.com/sqlalchemy/alembic"
+distfiles="${PYPI_SITE}/a/alembic/alembic-${version}.tar.gz"
+checksum=035ab00497217628bf5d0be82d664d8713ab13d37b630084da8e1f98facf4dbf
+
+do_check() {
+	tox -e py${py3_ver/./}
+}
+
+post_install() {
+	vlicense LICENSE
+}

From bf4b90493e07fb05cb2a92a054eae7158766abff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Mon, 14 Sep 2020 22:57:07 +0200
Subject: [PATCH 2/2] python3-alembic: drop noarch

---
 srcpkgs/python3-alembic/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-alembic/template b/srcpkgs/python3-alembic/template
index 2a6fd5bb1a2..ef1e98babf1 100644
--- a/srcpkgs/python3-alembic/template
+++ b/srcpkgs/python3-alembic/template
@@ -1,15 +1,14 @@
 # Template file for 'python3-alembic'
 pkgname=python3-alembic
 version=1.4.2
-revision=2
-archs=noarch
+revision=3
 wrksrc="alembic-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-Mako python3-SQLAlchemy python3-dateutil python3-editor"
 checkdepends="${depends} python3-devel
  python3-pytest tox"
-short_desc="Database migration tool for SQLAlchemy (Python3)"
+short_desc="Database migration tool for SQLAlchemy"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
 license="MIT"
 homepage="https://github.com/sqlalchemy/alembic"

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-15 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-14 21:33 [PR PATCH] python-alembic: remove py2, drop noarch Chocimier
2020-09-15 18:53 ` [PR PATCH] [Merged]: " Chocimier

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).