Github messages for voidlinux
 help / color / mirror / Atom feed
From: jason1987d <jason1987d@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] audacity: update to 3.2.1.
Date: Mon, 14 Nov 2022 18:04:20 +0100	[thread overview]
Message-ID: <20221114170420.xF2Bl5__V3N6P4kViGAKSyBwU619kzCh-WZKZB88oq0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40508@inbox.vuxu.org>

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

There is an updated pull request by jason1987d against master on the void-packages repository

https://github.com/jason1987d/void-packages audacity
https://github.com/void-linux/void-packages/pull/40508

[WIP] audacity: update to 3.2.1.
WIP. audacity 3.x has created new dependency chains.
so far updated python3-semver builds and tests successfully at least on my machine, but the new package python3-conan (required for new audacity) has the following error on do_check.
```
conans/client/tools/version.py:5: in <module>
    from semver import SemVer
E   ImportError: cannot import name 'SemVer' from 'semver' (/usr/lib/python3.11/site-packages/semver/__init__.py)
```
Requested to set up this PR as such from voidlinux IRC chat, this may get split into different PRs in the future.

<!-- Uncomment relevant sections and delete options which are not applicable -->

<!-- #### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
-->

<!--
#### 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/40508.patch is attached

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

From dda9c35228b48e140ac4053c8449c72ff69f6566 Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Sun, 13 Nov 2022 12:43:29 -0600
Subject: [PATCH] audacity: update to 3.2.1.

---
 srcpkgs/audacity/template         | 21 +++++++++------------
 srcpkgs/python3-conan/template    | 24 ++++++++++++++++++++++++
 srcpkgs/python3-patch_ng/template | 22 ++++++++++++++++++++++
 srcpkgs/python3-semver/template   | 19 -------------------
 4 files changed, 55 insertions(+), 31 deletions(-)
 create mode 100644 srcpkgs/python3-conan/template
 create mode 100644 srcpkgs/python3-patch_ng/template
 delete mode 100644 srcpkgs/python3-semver/template

diff --git a/srcpkgs/audacity/template b/srcpkgs/audacity/template
index d509c0a89407..dd9955d8c70f 100644
--- a/srcpkgs/audacity/template
+++ b/srcpkgs/audacity/template
@@ -1,22 +1,19 @@
 # Template file for 'audacity'
 pkgname=audacity
-version=2.4.1
-revision=2
-build_style=gnu-configure
-configure_args="--with-ffmpeg=system --with-libsndfile=system --with-expat=system
- --with-libsoxr=system --with-lame=system --with-lv2=system ac_cv_path_WX_CONFIG=wx-config-gtk3"
-hostmakedepends="pkg-config cmake gettext libtool m4 which"
-makedepends="jack-devel wxWidgets-gtk3-devel gtk+3-devel
- libmad-devel soundtouch-devel libsoxr-devel
- vamp-plugin-sdk-devel lame-devel libid3tag-devel libflac-devel
- ffmpeg-devel twolame-devel serd-devel lv2 lilv-devel suil-devel"
+version=3.2.1
+revision=1
+build_style=cmake
+#configure_args="--with-ffmpeg=system --with-libsndfile=system --with-expat=system --with-libsoxr=system ac_cv_path_WX_CONFIG=wx-config-gtk3 --with-lv2=system --with-lame=system"
+hostmakedepends="pkg-config cmake gettext libtool m4 which" 
+#makedepends="jack-devel wxWidgets-gtk3-devel gtk+3-devel libmad-devel soundtouch-devel libsoxr-devel vamp-plugin-sdk-devel lame-devel libid3tag-devel libflac-devel ffmpeg-devel twolame-devel serd-devel lv2 lilv-devel suil-devel python3"
+makedepends="python3-conan"
 depends="desktop-file-utils hicolor-icon-theme"
 short_desc="Graphical cross-platform audio editor"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jason Manley <jason@jasondavid.tv>"
 license="GPL-2.0-or-later"
 homepage="https://www.audacityteam.org"
 distfiles="https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz"
-checksum=50240f07471373a7e5c2df65cc26eeeaaced9a0850ad1f95cb795f171ea3009f
+checksum=cbded508d26dba809bbacc5d16da35f89a8ee32ba8622c0555e0577130eac609
 
 case "$XBPS_TARGET_MACHINE" in
 	i686*|x86_64*) ;;
diff --git a/srcpkgs/python3-conan/template b/srcpkgs/python3-conan/template
new file mode 100644
index 000000000000..039530c1a3bc
--- /dev/null
+++ b/srcpkgs/python3-conan/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-conan'
+pkgname=python3-conan
+version=2.0.0beta5
+revision=1
+#archs="i686 x86_64"
+#create_wrksrc=yes
+build_style=python3-module
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="python3-setuptools"
+# I build patch_ng myself here
+makedepends="python3-patch_ng python3-semver"
+#depends=""
+checkdepends="python3-pytest tox patch python3-colorama python3-tqdm python3-fasteners python3-yaml python3-requests python3-semver python3-dateutil python3-Jinja2 python3-MarkupSafe python3-six python3-bottle python3-mock"
+short_desc="C/C++ package manager"
+maintainer="Jason Manley <jason@jasondavid.tv>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/conan-io/conan"
+#changelog=""
+distfiles="https://github.com/conan-io/conan/archive/refs/tags/2.0.0-beta5.tar.gz"
+checksum=7cf47a872b61b9fdd9c26166125b94ee21d8c84226bb2d733ac0cadce0150876
diff --git a/srcpkgs/python3-patch_ng/template b/srcpkgs/python3-patch_ng/template
new file mode 100644
index 000000000000..bca795bf9d58
--- /dev/null
+++ b/srcpkgs/python3-patch_ng/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-patch_ng'
+pkgname=python3-patch_ng
+version=1.17.4
+revision=1
+#archs="i686 x86_64"
+#create_wrksrc=yes
+build_style=python3-module
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="python3-setuptools"
+#makedepends=""
+depends="python3"
+short_desc="Python library to parse and apply unified diffs"
+maintainer="Jason Manley <jason@jasondavid.tv>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/conan-io/python-patch-ng"
+#changelog=""
+distfiles="https://github.com/conan-io/python-patch-ng/archive/refs/tags/${version}.tar.gz"
+checksum=e332ea2c2e64e95b988c6e904a51be65b80560518a9b101c604a1a4378673795
diff --git a/srcpkgs/python3-semver/template b/srcpkgs/python3-semver/template
deleted file mode 100644
index 171f8e521315..000000000000
--- a/srcpkgs/python3-semver/template
+++ /dev/null
@@ -1,19 +0,0 @@
-# Template file for 'python3-semver'
-pkgname=python3-semver
-version=2.13.0
-revision=2
-build_style=python3-pep517
-make_check_target="test_semver.py"
-hostmakedepends="python3-wheel"
-depends="python3"
-checkdepends="python3-pytest-cov"
-short_desc="Python package to work with Semantic Versioning"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="BSD-3-Clause"
-homepage="https://github.com/python-semver/python-semver"
-distfiles="${PYPI_SITE}/s/semver/semver-${version}.tar.gz"
-checksum=fa0fe2722ee1c3f57eac478820c3a5ae2f624af8264cbdf9000c980ff7f75e3f
-
-post_install() {
-	vlicense LICENSE.txt
-}

  reply	other threads:[~2022-11-14 17:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-13 21:07 [PR PATCH] " jason1987d
2022-11-14 17:04 ` jason1987d [this message]
2022-11-14 17:05 ` [PR PATCH] [Updated] " jason1987d
2022-11-14 17:05 ` paper42
2022-11-23  4:01 ` [PR PATCH] [Updated] " jason1987d
2022-11-23  4:41 ` jason1987d
2022-11-23  6:11 ` jason1987d
2022-12-08 22:20 ` [PR PATCH] [Closed]: " jason1987d

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=20221114170420.xF2Bl5__V3N6P4kViGAKSyBwU619kzCh-WZKZB88oq0@z \
    --to=jason1987d@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).