From: CameronNemo <CameronNemo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] scons: update to 4.0.1.
Date: Mon, 24 Aug 2020 04:52:55 +0200 [thread overview]
Message-ID: <20200824025255.LxKtsXQJBybEv45vXHX1Y0e2BSzBN4hSoFJjvML13x4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24448@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]
There is an updated pull request by CameronNemo against master on the void-packages repository
https://github.com/CameronNemo/void-packages scons
https://github.com/void-linux/void-packages/pull/24448
scons: update to 4.0.1.
Switch to Python3.
Packages to test (`rg -l build_style=scons srcpkgs/ | awk -F '/' '{ print "- [ ] " $2 }'`):
- [ ] fceux
- [ ] vdrift
- [ ] xsettingsd
- [ ] rmlint
- [ ] mixxx
- [ ] cbang
- [ ] xboxdrv
- [ ] endless-sky
- [ ] pingus
- [ ] gpick
- [ ] serf
- [ ] The-Powder-Toy
- [ ] swiften
- [ ] libffado
- [ ] double-conversion
- [ ] goxel
- [ ] endless-sky-gl21
- [ ] gpsd
- [ ] godot
A patch file from https://github.com/void-linux/void-packages/pull/24448.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-scons-24448.patch --]
[-- Type: text/x-diff, Size: 4659 bytes --]
From f87926b702fd30b8ceb139fc07d307c207a07df1 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 23 Aug 2020 19:40:23 -0700
Subject: [PATCH 1/2] scons: update to 4.0.1.
Switch to Python3.
---
srcpkgs/scons/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/scons/template b/srcpkgs/scons/template
index 52c8013f7d6..a527bc6b69e 100644
--- a/srcpkgs/scons/template
+++ b/srcpkgs/scons/template
@@ -1,19 +1,19 @@
# Template file for 'scons'
pkgname=scons
-version=3.1.2
-revision=3
-build_style=python2-module
-make_install_args="--standard-lib --install-data=/usr/share"
-hostmakedepends="python python-setuptools"
-depends="python"
+version=4.0.1
+revision=1
+wrksrc="SCons-${version}"
+build_style=python3-module
+hostmakedepends="python3 python3-setuptools"
+depends="python3"
short_desc="Software construction tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.scons.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum="7801f3f62f654528e272df780be10c0e9337e897650b62ddcee9f39fde13f8fb"
+checksum=722ed104b5c624ecdc89bd4e02b094d2b14d99d47b5d0501961e47f579a2007c
post_install() {
- vlicense LICENSE.txt
+ vlicense LICENSE
}
From 86cbec6323ca66913f1b50fae7c777696f9d1dff Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 23 Aug 2020 19:48:31 -0700
Subject: [PATCH 2/2] gpsd: update to 3.21.
Switch to Python3.
---
srcpkgs/gpsd/patches/SConstruct-cross.patch | 13 -------------
srcpkgs/gpsd/template | 14 +++++++-------
2 files changed, 7 insertions(+), 20 deletions(-)
delete mode 100644 srcpkgs/gpsd/patches/SConstruct-cross.patch
diff --git a/srcpkgs/gpsd/patches/SConstruct-cross.patch b/srcpkgs/gpsd/patches/SConstruct-cross.patch
deleted file mode 100644
index 42b0748209e..00000000000
--- a/srcpkgs/gpsd/patches/SConstruct-cross.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- SConstruct~ 2020-01-01 02:31:27.000000000 +0100
-+++ SConstruct 2020-05-17 11:20:07.334411693 +0200
-@@ -629,6 +629,10 @@
-
- # run it
- ret = context.TryRun(program, '.c')
-+ if not ret[1]:
-+ # Assume 8
-+ context.Result("unchecked")
-+ return '8'
- context.Result(ret[0])
- return ret[1]
-
diff --git a/srcpkgs/gpsd/template b/srcpkgs/gpsd/template
index a5f3628ea42..29498fe1d54 100644
--- a/srcpkgs/gpsd/template
+++ b/srcpkgs/gpsd/template
@@ -1,13 +1,13 @@
# Template file for 'gpsd'
pkgname=gpsd
-version=3.20
+version=3.21
revision=1
build_style=scons
make_build_args="dbus_export=0 gpsd_user=gpsd gpsd_group=gpsd sbindir=/usr/bin
udevdir=/usr/lib/udev CC=${CC} qt_versioned=5"
make_install_args="$make_build_args"
make_install_target=udev-install
-hostmakedepends="pkg-config bc python-pyserial libxslt xmlto asciidoc ncurses"
+hostmakedepends="pkg-config bc python3-pyserial libxslt xmlto asciidoc ncurses"
makedepends="eudev-libudev-devel ntp libusb-devel ncurses-devel gtk+3-devel
pps-tools-devel libcap-devel libbluetooth-devel qt5-devel"
short_desc="GPS/AIS receiver monitoring daemon"
@@ -15,14 +15,14 @@ maintainer="uriahheep <uriahheep@gmail.com>"
license="BSD-3-Clause"
homepage="http://www.catb.org/gpsd/"
distfiles="http://download-mirror.savannah.gnu.org/releases/gpsd/gpsd-${version}.tar.xz"
-checksum=3998a5cbb728e97f896f46c3c83301b1e6c5d859393e58c2fad8c5426774d571
-python_version=2 # Must be same version as scons
+checksum=5512a7d3c2e86be83c5555652e5b4cc9049e8878a4320be7f039eb1a7203e5f0
+python_version=3 # Must be same version as scons
system_accounts="gpsd"
subpackages="gpsd-devel gpsd-qt gpsd-qt-devel"
if [ -z "$CROSS_BUILD" ]; then
subpackages+=" gpsd-python gpsd-xgps"
- makedepends+=" python-devel python-gobject-devel"
+ makedepends+=" python3-devel python3-gobject-devel"
else
# xxx scons uses its environment to build python stuff; so arch
# and python version must match. This should be fixed.
@@ -51,7 +51,7 @@ post_install() {
gpsd-python_package() {
short_desc+=" - Python tools/bindings"
- depends="python python-pyserial gnuplot ${sourcepkg}>=${version}_${revision}"
+ depends="python3 python3-pyserial gnuplot ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/lib/python*"
vmove usr/bin/gegps
@@ -71,7 +71,7 @@ gpsd-python_package() {
gpsd-xgps_package() {
short_desc+=" - PyGI based clients"
- depends="${sourcepkg}-python>=${version}_${revision} gtk+3 python-gobject"
+ depends="${sourcepkg}-python>=${version}_${revision} gtk+3 python3-gobject"
pkg_install() {
vmove usr/bin/xgps
vmove usr/bin/xgpsspeed
next prev parent reply other threads:[~2020-08-24 2:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-24 2:40 [PR PATCH] " CameronNemo
2020-08-24 2:50 ` [PR PATCH] [Updated] " CameronNemo
2020-08-24 2:52 ` CameronNemo [this message]
2020-08-24 2:55 ` CameronNemo
2020-08-24 11:33 ` sgn
2020-08-24 12:37 ` sgn
2020-08-24 12:41 ` sgn
2020-09-07 21:07 ` CameronNemo
2020-09-08 0:05 ` sgn
2020-10-19 14:53 ` sgn
2020-10-25 4:47 ` [PR PATCH] [Closed]: " sgn
2020-10-22 15:53 [PR PATCH] " sgn
2020-10-25 2:30 ` [PR PATCH] [Updated] " sgn
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=20200824025255.LxKtsXQJBybEv45vXHX1Y0e2BSzBN4hSoFJjvML13x4@z \
--to=cameronnemo@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).