Github messages for voidlinux
 help / color / mirror / Atom feed
From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-sqlparse: update to 0.4.3.
Date: Thu, 30 Mar 2023 23:48:48 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43125@inbox.vuxu.org> (raw)

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

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

https://github.com/TinfoilSubmarine/void-packages update/python3-sqlparse
https://github.com/void-linux/void-packages/pull/43125

python3-sqlparse: update to 0.4.3.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/python3-sqlparse-43125.patch --]
[-- Type: text/x-diff, Size: 2793 bytes --]

From 6376f5b184bb42bce4b60926f7facbe7a402b43f Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 30 Mar 2023 17:37:28 -0400
Subject: [PATCH] python3-sqlparse: update to 0.4.3.

---
 srcpkgs/python-sqlparse/template  | 18 +++---------------
 srcpkgs/python3-sqlparse          |  1 -
 srcpkgs/python3-sqlparse/template | 21 +++++++++++++++++++++
 3 files changed, 24 insertions(+), 16 deletions(-)
 delete mode 120000 srcpkgs/python3-sqlparse
 create mode 100644 srcpkgs/python3-sqlparse/template

diff --git a/srcpkgs/python-sqlparse/template b/srcpkgs/python-sqlparse/template
index 791f925cac92..3495bd07706d 100644
--- a/srcpkgs/python-sqlparse/template
+++ b/srcpkgs/python-sqlparse/template
@@ -2,9 +2,8 @@
 pkgname=python-sqlparse
 version=0.3.0
 revision=6
-build_style=python-module
-pycompile_module="sqlparse"
-hostmakedepends="python-setuptools python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-setuptools"
 depends="python-setuptools"
 short_desc="Non-validating SQL parser for Python2"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -15,17 +14,6 @@ checksum=7c3dca29c022744e95b547e867cee89f4fce4373f3549ccd8797d8eb52cdb873
 alternatives="sqlparse:sqlformat:/usr/bin/sqlformat2"
 
 post_install() {
+	mv "$DESTDIR"/usr/bin/sqlformat{,2}
 	vlicense LICENSE
 }
-
-python3-sqlparse_package() {
-	depends="python3-setuptools"
-	pycompile_module="sqlparse"
-	short_desc="${short_desc/Python2/Python3}"
-	alternatives="sqlparse:sqlformat:/usr/bin/sqlformat3"
-	pkg_install() {
-		vmove usr/bin/sqlformat3
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-sqlparse b/srcpkgs/python3-sqlparse
deleted file mode 120000
index c99cce656dc2..000000000000
--- a/srcpkgs/python3-sqlparse
+++ /dev/null
@@ -1 +0,0 @@
-python-sqlparse
\ No newline at end of file
diff --git a/srcpkgs/python3-sqlparse/template b/srcpkgs/python3-sqlparse/template
new file mode 100644
index 000000000000..d547f7d8b1e0
--- /dev/null
+++ b/srcpkgs/python3-sqlparse/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-sqlparse'
+pkgname=python3-sqlparse
+version=0.4.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Non-validating SQL parser for Python3"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/andialbrecht/sqlparse"
+changelog="https://raw.githubusercontent.com/andialbrecht/sqlparse/master/CHANGELOG"
+distfiles="${PYPI_SITE}/s/sqlparse/sqlparse-${version}.tar.gz"
+checksum=69ca804846bb114d2ec380e4360a8a340db83f0ccf3afceeb1404df028f57268
+alternatives="sqlparse:sqlformat:/usr/bin/sqlformat3"
+
+post_install() {
+	mv "$DESTDIR"/usr/bin/sqlformat{,3}
+	vlicense LICENSE
+}

             reply	other threads:[~2023-03-30 21:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30 21:48 TinfoilSubmarine [this message]
2023-03-30 21:53 ` [PR PATCH] [Updated] " TinfoilSubmarine
2023-03-31  2:33 ` TinfoilSubmarine
2023-03-31 13:25 ` TinfoilSubmarine
2023-03-31 13:26 ` TinfoilSubmarine
2023-06-23 20:49 ` [PR PATCH] [Updated] " TinfoilSubmarine
2023-06-26 12:46 ` TinfoilSubmarine
2023-06-27 12:33 ` TinfoilSubmarine
2023-06-27 12:36 ` python3-sqlparse: update to 0.4.4 TinfoilSubmarine
2023-07-13 16:56 ` [PR PATCH] [Updated] " TinfoilSubmarine
2023-07-13 17:02 ` TinfoilSubmarine
2023-07-13 17:27 ` TinfoilSubmarine
2023-07-13 17:31 ` TinfoilSubmarine
2023-10-12  1:44 ` github-actions
2023-10-13  1:09 ` [PR PATCH] [Updated] " TinfoilSubmarine
2024-01-11  1:46 ` github-actions
2024-01-25  1:48 ` [PR PATCH] [Closed]: " github-actions

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-43125@inbox.vuxu.org \
    --to=tinfoilsubmarine@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).