Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python-alembic: Set to Python3 only.
Date: Wed, 01 Jan 2020 03:48:44 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17959@inbox.vuxu.org> (raw)

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

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

https://github.com/ndowens/void-packages alembic
https://github.com/void-linux/void-packages/pull/17959

python-alembic: Set to Python3 only.


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

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

From 2d8dd8d8019e1f7c8e59fd1d4a45a4fa20365803 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Tue, 31 Dec 2019 20:31:02 -0600
Subject: [PATCH] python-alembic: Set to Python3 only.

---
 srcpkgs/python-alembic/template  | 32 ++------------------------------
 srcpkgs/python3-alembic          |  1 -
 srcpkgs/python3-alembic/template | 24 ++++++++++++++++++++++++
 3 files changed, 26 insertions(+), 31 deletions(-)
 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
index 4c79f3679a2..cd3ba2c8e36 100644
--- a/srcpkgs/python-alembic/template
+++ b/srcpkgs/python-alembic/template
@@ -3,36 +3,8 @@ pkgname=python-alembic
 version=1.3.1
 revision=2
 archs=noarch
-wrksrc="alembic-${version}"
-build_style=python-module
-pycompile_module="alembic"
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python-Mako python-SQLAlchemy python-dateutil python-editor"
-checkdepends="${depends} ${depends//python-/python3-}
- python-pytest python3-pytest python-mock tox"
-short_desc="Database migration tool for SQLAlchemy (Python2)"
+build_style=meta
+short_desc="Database migration tool for SQLAlchemy (removed package)"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
 license="MIT"
 homepage="https://bitbucket.org/zzzeek/alembic"
-distfiles="${PYPI_SITE}/a/alembic/alembic-${version}.tar.gz"
-checksum=49277bb7242192bbb9eac58fed4fe02ec6c3a2a4b4345d2171197459266482b2
-
-do_check() {
-	tox -e py27,py${py3_ver/./}
-}
-
-post_install() {
-	vlicense LICENSE
-}
-
-python3-alembic_package() {
-	archs=noarch
-	pycompile_module="alembic"
-	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..144529b53a6
--- /dev/null
+++ b/srcpkgs/python3-alembic/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-alembic'
+pkgname=python3-alembic
+version=1.3.1
+revision=3
+archs=noarch
+wrksrc="alembic-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Mako python3-SQLAlchemy python3-dateutil python3-editor"
+checkdepends="$depends python3-pytest python3-mock"
+short_desc="Database migration tool for SQLAlchemy"
+maintainer="Piotr Wójcik <chocimier@tlen.pl>"
+license="MIT"
+homepage="https://bitbucket.org/zzzeek/alembic"
+distfiles="${PYPI_SITE}/a/alembic/alembic-${version}.tar.gz"
+checksum=49277bb7242192bbb9eac58fed4fe02ec6c3a2a4b4345d2171197459266482b2
+
+do_check() {
+	tox -e py27,py${py3_ver/./}
+}
+
+post_install() {
+	vlicense LICENSE
+}

             reply	other threads:[~2020-01-01  2:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-01  2:48 voidlinux-github [this message]
2020-01-18 15:44 ` [PR PATCH] [Closed]: " voidlinux-github
2020-01-18 15:44 ` voidlinux-github
2020-01-18 15:45 ` voidlinux-github

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17959@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).