Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-transifex-client: replace with new package transifex-cli
@ 2022-07-18 16:20 tranzystorek-io
  2022-07-18 16:59 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tranzystorek-io @ 2022-07-18 16:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages transifex-cli
https://github.com/void-linux/void-packages/pull/38133

python3-transifex-client: replace with new package transifex-cli
<!-- Uncomment relevant sections and delete options which are not applicable -->

Replaces old client since it's become deprecated

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

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

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

From ae5aa58d38f39d36922fd91726d1b76d46429eb8 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Mon, 18 Jul 2022 17:07:02 +0200
Subject: [PATCH 1/2] python3-transifex-client: remove package

---
 .../patches/relax-deps.patch                      |  9 ---------
 srcpkgs/python3-transifex-client/template         | 15 ---------------
 srcpkgs/removed-packages/template                 |  3 ++-
 3 files changed, 2 insertions(+), 25 deletions(-)
 delete mode 100644 srcpkgs/python3-transifex-client/patches/relax-deps.patch
 delete mode 100644 srcpkgs/python3-transifex-client/template

diff --git a/srcpkgs/python3-transifex-client/patches/relax-deps.patch b/srcpkgs/python3-transifex-client/patches/relax-deps.patch
deleted file mode 100644
index 272634f3775e..000000000000
--- a/srcpkgs/python3-transifex-client/patches/relax-deps.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/requirements.txt	2019-03-05 20:38:40.487366801 +0100
-+++ b/requirements.txt	2019-03-05 20:39:34.522087398 +0100
-@@ -1,4 +1,4 @@
--urllib3<1.24
--six==1.11.0
-+urllib3>=1.24,<2.0.0
-+six>=1.11.0,<2.0.0
- requests>=2.19.1,<3.0.0
- python-slugify==1.2.6
diff --git a/srcpkgs/python3-transifex-client/template b/srcpkgs/python3-transifex-client/template
deleted file mode 100644
index af34e58ba811..000000000000
--- a/srcpkgs/python3-transifex-client/template
+++ /dev/null
@@ -1,15 +0,0 @@
-# Template file for 'python3-transifex-client'
-pkgname=python3-transifex-client
-version=0.13.6
-revision=4
-wrksrc="transifex-client-${version}"
-build_style=python3-module
-pycompile_module="txclib"
-hostmakedepends="python3-setuptools"
-depends="python3-urllib3 python3-requests python3-six python3-slugify<1.2.7"
-short_desc="Transifex command-line tool"
-maintainer="Enno Boland <gottox@voidlinux.org>"
-license="GPL-2.0-only"
-homepage="https://www.transifex.com"
-distfiles="https://github.com/transifex/transifex-client/archive/${version}.tar.gz"
-checksum=460f3a829e57b8025280e03a6ad497a87beba142adb2e1579678227f49d4a9ab
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 8456cb959d35..3f617a4593f9 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1
-revision=70
+revision=71
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -348,6 +348,7 @@ replaces="
  python3-pyside-phonon<=5.15.0_2
  python3-pyside<=5.15.0_2
  python3-shiboken<=5.15.0_3
+ python3-transifex-client<=0.13.6_4
  python3-txacme<=0.9.3_3
  qimageblitz<=0.0.6_4
  qt-designer-devel<=4.8.7_29

From f4448b2e98f71989a81ef3f6aea33236f932e990 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Mon, 18 Jul 2022 18:16:49 +0200
Subject: [PATCH 2/2] New package: transifex-cli-1.2.1

---
 srcpkgs/transifex-cli/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/transifex-cli/template

diff --git a/srcpkgs/transifex-cli/template b/srcpkgs/transifex-cli/template
new file mode 100644
index 000000000000..39002b5b5dae
--- /dev/null
+++ b/srcpkgs/transifex-cli/template
@@ -0,0 +1,20 @@
+# Template file for 'transifex-cli'
+pkgname=transifex-cli
+version=1.2.1
+revision=1
+wrksrc="cli-${version}"
+build_style=go
+go_import_path="github.com/transifex/cli"
+go_ldflags="-X github.com/transifex/cli/internal/txlib.Version=${version}"
+short_desc="Transifex command-line client"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/transifex/cli"
+changelog="https://github.com/transifex/cli/releases"
+distfiles="https://github.com/transifex/cli/archive/refs/tags/v${version}.tar.gz"
+checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be
+
+post_install() {
+	# use upstream binary name
+	mv ${DESTDIR}/usr/bin/{cli,tx}
+}

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

* Re: [PR PATCH] [Updated] python3-transifex-client: replace with new package transifex-cli
  2022-07-18 16:20 [PR PATCH] python3-transifex-client: replace with new package transifex-cli tranzystorek-io
@ 2022-07-18 16:59 ` tranzystorek-io
  2022-07-18 17:19 ` tranzystorek-io
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2022-07-18 16:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages transifex-cli
https://github.com/void-linux/void-packages/pull/38133

python3-transifex-client: replace with new package transifex-cli
<!-- Uncomment relevant sections and delete options which are not applicable -->

Replaces old client since it's become deprecated

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

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

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

From fe95afd1a5f0141f6723be92cbd074f9d2355549 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Mon, 18 Jul 2022 18:16:49 +0200
Subject: [PATCH 1/2] New package: transifex-cli-1.2.1

---
 srcpkgs/transifex-cli/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/transifex-cli/template

diff --git a/srcpkgs/transifex-cli/template b/srcpkgs/transifex-cli/template
new file mode 100644
index 000000000000..737c2e646885
--- /dev/null
+++ b/srcpkgs/transifex-cli/template
@@ -0,0 +1,19 @@
+# Template file for 'transifex-cli'
+pkgname=transifex-cli
+version=1.2.1
+revision=1
+wrksrc="cli-${version}"
+build_style=go
+go_import_path="github.com/transifex/cli"
+go_ldflags="-X github.com/transifex/cli/internal/txlib.Version=${version}"
+short_desc="Transifex command-line client"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/transifex/cli"
+changelog="https://github.com/transifex/cli/releases"
+distfiles="https://github.com/transifex/cli/archive/refs/tags/v${version}.tar.gz"
+checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be
+
+post_install() {
+	mv ${DESTDIR}/usr/bin/{cli,transifex}
+}

From 4eddbafcd0ac1a43876562e59d3354f848e32ff2 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Mon, 18 Jul 2022 18:48:01 +0200
Subject: [PATCH 2/2] python3-transifex-client: transition to transifex-cli

---
 srcpkgs/python3-transifex-client                  |  1 +
 .../patches/relax-deps.patch                      |  9 ---------
 srcpkgs/python3-transifex-client/template         | 15 ---------------
 srcpkgs/transifex-cli/template                    |  6 ++++++
 4 files changed, 7 insertions(+), 24 deletions(-)
 create mode 120000 srcpkgs/python3-transifex-client
 delete mode 100644 srcpkgs/python3-transifex-client/patches/relax-deps.patch
 delete mode 100644 srcpkgs/python3-transifex-client/template

diff --git a/srcpkgs/python3-transifex-client b/srcpkgs/python3-transifex-client
new file mode 120000
index 000000000000..1ec27018acb2
--- /dev/null
+++ b/srcpkgs/python3-transifex-client
@@ -0,0 +1 @@
+transifex-cli
\ No newline at end of file
diff --git a/srcpkgs/python3-transifex-client/patches/relax-deps.patch b/srcpkgs/python3-transifex-client/patches/relax-deps.patch
deleted file mode 100644
index 272634f3775e..000000000000
--- a/srcpkgs/python3-transifex-client/patches/relax-deps.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/requirements.txt	2019-03-05 20:38:40.487366801 +0100
-+++ b/requirements.txt	2019-03-05 20:39:34.522087398 +0100
-@@ -1,4 +1,4 @@
--urllib3<1.24
--six==1.11.0
-+urllib3>=1.24,<2.0.0
-+six>=1.11.0,<2.0.0
- requests>=2.19.1,<3.0.0
- python-slugify==1.2.6
diff --git a/srcpkgs/python3-transifex-client/template b/srcpkgs/python3-transifex-client/template
deleted file mode 100644
index af34e58ba811..000000000000
--- a/srcpkgs/python3-transifex-client/template
+++ /dev/null
@@ -1,15 +0,0 @@
-# Template file for 'python3-transifex-client'
-pkgname=python3-transifex-client
-version=0.13.6
-revision=4
-wrksrc="transifex-client-${version}"
-build_style=python3-module
-pycompile_module="txclib"
-hostmakedepends="python3-setuptools"
-depends="python3-urllib3 python3-requests python3-six python3-slugify<1.2.7"
-short_desc="Transifex command-line tool"
-maintainer="Enno Boland <gottox@voidlinux.org>"
-license="GPL-2.0-only"
-homepage="https://www.transifex.com"
-distfiles="https://github.com/transifex/transifex-client/archive/${version}.tar.gz"
-checksum=460f3a829e57b8025280e03a6ad497a87beba142adb2e1579678227f49d4a9ab
diff --git a/srcpkgs/transifex-cli/template b/srcpkgs/transifex-cli/template
index 737c2e646885..6a8a6ce65109 100644
--- a/srcpkgs/transifex-cli/template
+++ b/srcpkgs/transifex-cli/template
@@ -17,3 +17,9 @@ checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be
 post_install() {
 	mv ${DESTDIR}/usr/bin/{cli,transifex}
 }
+
+python3-transifex-client_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc="Transition package for transifex-cli"
+	build_style=meta
+}

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

* Re: [PR PATCH] [Updated] python3-transifex-client: replace with new package transifex-cli
  2022-07-18 16:20 [PR PATCH] python3-transifex-client: replace with new package transifex-cli tranzystorek-io
  2022-07-18 16:59 ` [PR PATCH] [Updated] " tranzystorek-io
@ 2022-07-18 17:19 ` tranzystorek-io
  2022-07-18 18:03 ` [PR REVIEW] " paper42
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2022-07-18 17:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages transifex-cli
https://github.com/void-linux/void-packages/pull/38133

python3-transifex-client: replace with new package transifex-cli
<!-- Uncomment relevant sections and delete options which are not applicable -->

Replaces old client since it's become deprecated

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

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

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

From fe95afd1a5f0141f6723be92cbd074f9d2355549 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Mon, 18 Jul 2022 18:16:49 +0200
Subject: [PATCH 1/2] New package: transifex-cli-1.2.1

---
 srcpkgs/transifex-cli/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/transifex-cli/template

diff --git a/srcpkgs/transifex-cli/template b/srcpkgs/transifex-cli/template
new file mode 100644
index 000000000000..737c2e646885
--- /dev/null
+++ b/srcpkgs/transifex-cli/template
@@ -0,0 +1,19 @@
+# Template file for 'transifex-cli'
+pkgname=transifex-cli
+version=1.2.1
+revision=1
+wrksrc="cli-${version}"
+build_style=go
+go_import_path="github.com/transifex/cli"
+go_ldflags="-X github.com/transifex/cli/internal/txlib.Version=${version}"
+short_desc="Transifex command-line client"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/transifex/cli"
+changelog="https://github.com/transifex/cli/releases"
+distfiles="https://github.com/transifex/cli/archive/refs/tags/v${version}.tar.gz"
+checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be
+
+post_install() {
+	mv ${DESTDIR}/usr/bin/{cli,transifex}
+}

From bb6ca1c35d9849f761a9a4b6c3af3a20302c9c5a Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Mon, 18 Jul 2022 18:48:01 +0200
Subject: [PATCH 2/2] python3-transifex-client: transition to transifex-cli

---
 srcpkgs/python3-transifex-client                  |  1 +
 .../patches/relax-deps.patch                      |  9 ---------
 srcpkgs/python3-transifex-client/template         | 15 ---------------
 srcpkgs/transifex-cli/template                    |  6 ++++++
 4 files changed, 7 insertions(+), 24 deletions(-)
 create mode 120000 srcpkgs/python3-transifex-client
 delete mode 100644 srcpkgs/python3-transifex-client/patches/relax-deps.patch
 delete mode 100644 srcpkgs/python3-transifex-client/template

diff --git a/srcpkgs/python3-transifex-client b/srcpkgs/python3-transifex-client
new file mode 120000
index 000000000000..1ec27018acb2
--- /dev/null
+++ b/srcpkgs/python3-transifex-client
@@ -0,0 +1 @@
+transifex-cli
\ No newline at end of file
diff --git a/srcpkgs/python3-transifex-client/patches/relax-deps.patch b/srcpkgs/python3-transifex-client/patches/relax-deps.patch
deleted file mode 100644
index 272634f3775e..000000000000
--- a/srcpkgs/python3-transifex-client/patches/relax-deps.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/requirements.txt	2019-03-05 20:38:40.487366801 +0100
-+++ b/requirements.txt	2019-03-05 20:39:34.522087398 +0100
-@@ -1,4 +1,4 @@
--urllib3<1.24
--six==1.11.0
-+urllib3>=1.24,<2.0.0
-+six>=1.11.0,<2.0.0
- requests>=2.19.1,<3.0.0
- python-slugify==1.2.6
diff --git a/srcpkgs/python3-transifex-client/template b/srcpkgs/python3-transifex-client/template
deleted file mode 100644
index af34e58ba811..000000000000
--- a/srcpkgs/python3-transifex-client/template
+++ /dev/null
@@ -1,15 +0,0 @@
-# Template file for 'python3-transifex-client'
-pkgname=python3-transifex-client
-version=0.13.6
-revision=4
-wrksrc="transifex-client-${version}"
-build_style=python3-module
-pycompile_module="txclib"
-hostmakedepends="python3-setuptools"
-depends="python3-urllib3 python3-requests python3-six python3-slugify<1.2.7"
-short_desc="Transifex command-line tool"
-maintainer="Enno Boland <gottox@voidlinux.org>"
-license="GPL-2.0-only"
-homepage="https://www.transifex.com"
-distfiles="https://github.com/transifex/transifex-client/archive/${version}.tar.gz"
-checksum=460f3a829e57b8025280e03a6ad497a87beba142adb2e1579678227f49d4a9ab
diff --git a/srcpkgs/transifex-cli/template b/srcpkgs/transifex-cli/template
index 737c2e646885..64726ec1f834 100644
--- a/srcpkgs/transifex-cli/template
+++ b/srcpkgs/transifex-cli/template
@@ -17,3 +17,9 @@ checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be
 post_install() {
 	mv ${DESTDIR}/usr/bin/{cli,transifex}
 }
+
+python3-transifex-client_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}

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

* Re: [PR REVIEW] python3-transifex-client: replace with new package transifex-cli
  2022-07-18 16:20 [PR PATCH] python3-transifex-client: replace with new package transifex-cli tranzystorek-io
  2022-07-18 16:59 ` [PR PATCH] [Updated] " tranzystorek-io
  2022-07-18 17:19 ` tranzystorek-io
@ 2022-07-18 18:03 ` paper42
  2022-07-18 18:29 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: paper42 @ 2022-07-18 18:03 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38133#discussion_r923673685

Comment:
```suggestion
	depends="${sourcepkg}>=${version}_${revision}"
```

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

* Re: [PR PATCH] [Updated] python3-transifex-client: replace with new package transifex-cli
  2022-07-18 16:20 [PR PATCH] python3-transifex-client: replace with new package transifex-cli tranzystorek-io
                   ` (2 preceding siblings ...)
  2022-07-18 18:03 ` [PR REVIEW] " paper42
@ 2022-07-18 18:29 ` tranzystorek-io
  2022-07-18 18:29 ` [PR REVIEW] " tranzystorek-io
  2022-07-18 18:37 ` [PR PATCH] [Merged]: " paper42
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2022-07-18 18:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages transifex-cli
https://github.com/void-linux/void-packages/pull/38133

python3-transifex-client: replace with new package transifex-cli
<!-- Uncomment relevant sections and delete options which are not applicable -->

Replaces old client since it's become deprecated

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

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

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

From fe95afd1a5f0141f6723be92cbd074f9d2355549 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Mon, 18 Jul 2022 18:16:49 +0200
Subject: [PATCH 1/2] New package: transifex-cli-1.2.1

---
 srcpkgs/transifex-cli/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/transifex-cli/template

diff --git a/srcpkgs/transifex-cli/template b/srcpkgs/transifex-cli/template
new file mode 100644
index 000000000000..737c2e646885
--- /dev/null
+++ b/srcpkgs/transifex-cli/template
@@ -0,0 +1,19 @@
+# Template file for 'transifex-cli'
+pkgname=transifex-cli
+version=1.2.1
+revision=1
+wrksrc="cli-${version}"
+build_style=go
+go_import_path="github.com/transifex/cli"
+go_ldflags="-X github.com/transifex/cli/internal/txlib.Version=${version}"
+short_desc="Transifex command-line client"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/transifex/cli"
+changelog="https://github.com/transifex/cli/releases"
+distfiles="https://github.com/transifex/cli/archive/refs/tags/v${version}.tar.gz"
+checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be
+
+post_install() {
+	mv ${DESTDIR}/usr/bin/{cli,transifex}
+}

From e0b057eb8e3546873f90477c837017fd59b3daea Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Mon, 18 Jul 2022 18:48:01 +0200
Subject: [PATCH 2/2] python3-transifex-client: transition to transifex-cli

---
 srcpkgs/python3-transifex-client                  |  1 +
 .../patches/relax-deps.patch                      |  9 ---------
 srcpkgs/python3-transifex-client/template         | 15 ---------------
 srcpkgs/transifex-cli/template                    |  6 ++++++
 4 files changed, 7 insertions(+), 24 deletions(-)
 create mode 120000 srcpkgs/python3-transifex-client
 delete mode 100644 srcpkgs/python3-transifex-client/patches/relax-deps.patch
 delete mode 100644 srcpkgs/python3-transifex-client/template

diff --git a/srcpkgs/python3-transifex-client b/srcpkgs/python3-transifex-client
new file mode 120000
index 000000000000..1ec27018acb2
--- /dev/null
+++ b/srcpkgs/python3-transifex-client
@@ -0,0 +1 @@
+transifex-cli
\ No newline at end of file
diff --git a/srcpkgs/python3-transifex-client/patches/relax-deps.patch b/srcpkgs/python3-transifex-client/patches/relax-deps.patch
deleted file mode 100644
index 272634f3775e..000000000000
--- a/srcpkgs/python3-transifex-client/patches/relax-deps.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/requirements.txt	2019-03-05 20:38:40.487366801 +0100
-+++ b/requirements.txt	2019-03-05 20:39:34.522087398 +0100
-@@ -1,4 +1,4 @@
--urllib3<1.24
--six==1.11.0
-+urllib3>=1.24,<2.0.0
-+six>=1.11.0,<2.0.0
- requests>=2.19.1,<3.0.0
- python-slugify==1.2.6
diff --git a/srcpkgs/python3-transifex-client/template b/srcpkgs/python3-transifex-client/template
deleted file mode 100644
index af34e58ba811..000000000000
--- a/srcpkgs/python3-transifex-client/template
+++ /dev/null
@@ -1,15 +0,0 @@
-# Template file for 'python3-transifex-client'
-pkgname=python3-transifex-client
-version=0.13.6
-revision=4
-wrksrc="transifex-client-${version}"
-build_style=python3-module
-pycompile_module="txclib"
-hostmakedepends="python3-setuptools"
-depends="python3-urllib3 python3-requests python3-six python3-slugify<1.2.7"
-short_desc="Transifex command-line tool"
-maintainer="Enno Boland <gottox@voidlinux.org>"
-license="GPL-2.0-only"
-homepage="https://www.transifex.com"
-distfiles="https://github.com/transifex/transifex-client/archive/${version}.tar.gz"
-checksum=460f3a829e57b8025280e03a6ad497a87beba142adb2e1579678227f49d4a9ab
diff --git a/srcpkgs/transifex-cli/template b/srcpkgs/transifex-cli/template
index 737c2e646885..999b461c7c51 100644
--- a/srcpkgs/transifex-cli/template
+++ b/srcpkgs/transifex-cli/template
@@ -17,3 +17,9 @@ checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be
 post_install() {
 	mv ${DESTDIR}/usr/bin/{cli,transifex}
 }
+
+python3-transifex-client_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}

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

* Re: [PR REVIEW] python3-transifex-client: replace with new package transifex-cli
  2022-07-18 16:20 [PR PATCH] python3-transifex-client: replace with new package transifex-cli tranzystorek-io
                   ` (3 preceding siblings ...)
  2022-07-18 18:29 ` [PR PATCH] [Updated] " tranzystorek-io
@ 2022-07-18 18:29 ` tranzystorek-io
  2022-07-18 18:37 ` [PR PATCH] [Merged]: " paper42
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2022-07-18 18:29 UTC (permalink / raw)
  To: ml

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

New review comment by tranzystorek-io on void-packages repository

https://github.com/void-linux/void-packages/pull/38133#discussion_r923694102

Comment:
Done

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

* Re: [PR PATCH] [Merged]: python3-transifex-client: replace with new package transifex-cli
  2022-07-18 16:20 [PR PATCH] python3-transifex-client: replace with new package transifex-cli tranzystorek-io
                   ` (4 preceding siblings ...)
  2022-07-18 18:29 ` [PR REVIEW] " tranzystorek-io
@ 2022-07-18 18:37 ` paper42
  5 siblings, 0 replies; 7+ messages in thread
From: paper42 @ 2022-07-18 18:37 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

python3-transifex-client: replace with new package transifex-cli
https://github.com/void-linux/void-packages/pull/38133

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

Replaces old client since it's become deprecated

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- 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
-->


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

end of thread, other threads:[~2022-07-18 18:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-18 16:20 [PR PATCH] python3-transifex-client: replace with new package transifex-cli tranzystorek-io
2022-07-18 16:59 ` [PR PATCH] [Updated] " tranzystorek-io
2022-07-18 17:19 ` tranzystorek-io
2022-07-18 18:03 ` [PR REVIEW] " paper42
2022-07-18 18:29 ` [PR PATCH] [Updated] " tranzystorek-io
2022-07-18 18:29 ` [PR REVIEW] " tranzystorek-io
2022-07-18 18:37 ` [PR PATCH] [Merged]: " paper42

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