Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict
@ 2020-04-15 22:09 svenper
  2020-04-15 22:26 ` Chocimier
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: svenper @ 2020-04-15 22:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/svenper/void-packages perl-PerlIO-utf8_strict
https://github.com/void-linux/void-packages/pull/21037

perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict
(final dash to underscore)
since #14005 was fixed

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-perl-PerlIO-utf8_strict-21037.patch --]
[-- Type: text/x-diff, Size: 4000 bytes --]

From 8dddb512dc2b4d34bba2596287f71e94a5f5b362 Mon Sep 17 00:00:00 2001
From: svenper <svenper@tuta.io>
Date: Thu, 16 Apr 2020 00:03:00 +0200
Subject: [PATCH 1/3] perl-PerlIO-utf8-strict: rename to
 perl-PerlIO-utf8_strict

(final dash to underscore)
since #14005 was fixed
---
 srcpkgs/perl-PerlIO-utf8-strict/update                 |  1 -
 .../template                                           | 10 ++++++----
 2 files changed, 6 insertions(+), 5 deletions(-)
 delete mode 100644 srcpkgs/perl-PerlIO-utf8-strict/update
 rename srcpkgs/{perl-PerlIO-utf8-strict => perl-PerlIO-utf8_strict}/template (59%)

diff --git a/srcpkgs/perl-PerlIO-utf8-strict/update b/srcpkgs/perl-PerlIO-utf8-strict/update
deleted file mode 100644
index 177ed5c8f94..00000000000
--- a/srcpkgs/perl-PerlIO-utf8-strict/update
+++ /dev/null
@@ -1 +0,0 @@
-pkgname=perl-PerlIO-utf8_strict
diff --git a/srcpkgs/perl-PerlIO-utf8-strict/template b/srcpkgs/perl-PerlIO-utf8_strict/template
similarity index 59%
rename from srcpkgs/perl-PerlIO-utf8-strict/template
rename to srcpkgs/perl-PerlIO-utf8_strict/template
index 98c31ac38fb..196388e6739 100644
--- a/srcpkgs/perl-PerlIO-utf8-strict/template
+++ b/srcpkgs/perl-PerlIO-utf8_strict/template
@@ -1,8 +1,8 @@
-# Template file for 'perl-PerlIO-utf8-strict'
-pkgname=perl-PerlIO-utf8-strict
+# Template file for 'perl-PerlIO-utf8_strict'
+pkgname=perl-PerlIO-utf8_strict
 version=0.007
 revision=1
-wrksrc="PerlIO-utf8_strict-${version}"
+wrksrc="${pkgname/perl-/}-${version}"
 build_style=perl-module
 hostmakedepends="perl"
 makedepends="perl perl-Test-Exception"
@@ -11,5 +11,7 @@ short_desc="PerlIO::utf8_strict - Fast and correct UTF-8 IO"
 maintainer="svenper <svenper@tuta.io>"
 license="Artistic-1.0-Perl, GPL-1.0-or-later"
 homepage="https://metacpan.org/release/PerlIO-utf8_strict"
-distfiles="${CPAN_SITE}/PerlIO/PerlIO-utf8_strict-${version}.tar.gz"
+distfiles="${CPAN_SITE}/PerlIO/${pkgname/perl-/}-${version}.tar.gz"
 checksum=83a33f2fe046cb3ad6afc80790635a423e2c7c6854afacc6998cd46951cc81cb
+provides="perl-PerlIO-utf8-strict-${version}_${revision}"
+replaces="perl-PerlIO-utf8-strict>=0"

From 63d6c6b21620542f48f3cbe327c2aeb431516a40 Mon Sep 17 00:00:00 2001
From: svenper <svenper@tuta.io>
Date: Thu, 16 Apr 2020 00:05:10 +0200
Subject: [PATCH 2/3] biber: dependency perl-PerlIO-utf8-strict was renamed

---
 srcpkgs/biber/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/biber/template b/srcpkgs/biber/template
index 23b94472d1e..33ce32657a4 100644
--- a/srcpkgs/biber/template
+++ b/srcpkgs/biber/template
@@ -1,7 +1,7 @@
 # Template file for 'biber'
 pkgname=biber
 version=2.14
-revision=2
+revision=3
 archs=noarch
 wrksrc="${pkgname}-${version}"
 build_style=perl-ModuleBuild
@@ -32,7 +32,7 @@ makedepends="
 	perl-Mozilla-CA
 	perl-namespace-autoclean
 	perl-Parse-RecDescent
-	perl-PerlIO-utf8-strict
+	perl-PerlIO-utf8_strict
 	perl-Regexp-Common
 	perl-Sort-Key
 	perl-Text-BibTeX

From 31b0764dddc9b7df1e0c5c8cdc3304b3d20f2912 Mon Sep 17 00:00:00 2001
From: svenper <svenper@tuta.io>
Date: Thu, 16 Apr 2020 00:05:30 +0200
Subject: [PATCH 3/3] perl-Mixin-Linewise: dependency perl-PerlIO-utf8-strict
 was renamed

---
 srcpkgs/perl-Mixin-Linewise/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/perl-Mixin-Linewise/template b/srcpkgs/perl-Mixin-Linewise/template
index 1f2c66462b7..eaf64872f8f 100644
--- a/srcpkgs/perl-Mixin-Linewise/template
+++ b/srcpkgs/perl-Mixin-Linewise/template
@@ -1,11 +1,11 @@
 # Template file for 'perl-Mixin-Linewise'
 pkgname=perl-Mixin-Linewise
 version=0.108
-revision=1
+revision=2
 archs=noarch
 wrksrc="${pkgname/perl-/}-${version}"
 build_style=perl-module
-hostmakedepends="perl perl-PerlIO-utf8-strict perl-Sub-Exporter"
+hostmakedepends="perl perl-PerlIO-utf8_strict perl-Sub-Exporter"
 makedepends="$hostmakedepends"
 depends="$makedepends"
 short_desc="Mixin::Linewise - write your linewise code for handles; this does the rest"

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

* Re: perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict
  2020-04-15 22:09 [PR PATCH] perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict svenper
@ 2020-04-15 22:26 ` Chocimier
  2020-04-15 22:35 ` svenper
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Chocimier @ 2020-04-15 22:26 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21037#issuecomment-614310745

Comment:
Provides+replaces won't work. I also think troubles with renaming package are not worth it.

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

* Re: perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict
  2020-04-15 22:09 [PR PATCH] perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict svenper
  2020-04-15 22:26 ` Chocimier
@ 2020-04-15 22:35 ` svenper
  2020-04-17 19:58 ` Chocimier
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: svenper @ 2020-04-15 22:35 UTC (permalink / raw)
  To: ml

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

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/pull/21037#issuecomment-614313630

Comment:
I already went through the trouble... :laughing: Unless renames create some additional repo work for you? Why wouldn't provides+replaces work?
```text
# xbps-install --repository=/var/cache/xbps-src/binpkgs/perl-PerlIO-utf8_strict -u

Name                    Action    Version           New version            Download size
perl-PerlIO-utf8-strict remove    0.007_1           -                      -
perl-PerlIO-utf8_strict install   -                 0.007_1                -
```

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

* Re: perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict
  2020-04-15 22:09 [PR PATCH] perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict svenper
  2020-04-15 22:26 ` Chocimier
  2020-04-15 22:35 ` svenper
@ 2020-04-17 19:58 ` Chocimier
  2020-04-17 20:43 ` svenper
  2020-04-17 20:43 ` svenper
  4 siblings, 0 replies; 6+ messages in thread
From: Chocimier @ 2020-04-17 19:58 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21037#issuecomment-615437564

Comment:
Hmm, provides+replaces works good enough for package that is installed as dependency.

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

* Re: perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict
  2020-04-15 22:09 [PR PATCH] perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict svenper
                   ` (2 preceding siblings ...)
  2020-04-17 19:58 ` Chocimier
@ 2020-04-17 20:43 ` svenper
  2020-04-17 20:43 ` svenper
  4 siblings, 0 replies; 6+ messages in thread
From: svenper @ 2020-04-17 20:43 UTC (permalink / raw)
  To: ml

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

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/pull/21037#issuecomment-615454854

Comment:
When would it not work?

```text
$ xbps-query -p automatic-install perl-PerlIO-utf8-strict
no
# xbps-install --repository=/var/cache/xbps-src/binpkgs/perl-PerlIO-utf8_strict -u

Name                    Action    Version           New version            Download size
perl-PerlIO-utf8-strict remove    0.007_1           -                      -
perl-PerlIO-utf8_strict install   -                 0.007_1                -
```

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

* Re: perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict
  2020-04-15 22:09 [PR PATCH] perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict svenper
                   ` (3 preceding siblings ...)
  2020-04-17 20:43 ` svenper
@ 2020-04-17 20:43 ` svenper
  4 siblings, 0 replies; 6+ messages in thread
From: svenper @ 2020-04-17 20:43 UTC (permalink / raw)
  To: ml

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

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/pull/21037#issuecomment-615454854

Comment:
When would it not work?

```text
$ xbps-query -p automatic-install perl-PerlIO-utf8-strict
no
```
```text
# xbps-install --repository=/var/cache/xbps-src/binpkgs/perl-PerlIO-utf8_strict -u

Name                    Action    Version           New version            Download size
perl-PerlIO-utf8-strict remove    0.007_1           -                      -
perl-PerlIO-utf8_strict install   -                 0.007_1                -
```

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

end of thread, other threads:[~2020-04-17 20:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15 22:09 [PR PATCH] perl-PerlIO-utf8-strict: rename to perl-PerlIO-utf8_strict svenper
2020-04-15 22:26 ` Chocimier
2020-04-15 22:35 ` svenper
2020-04-17 19:58 ` Chocimier
2020-04-17 20:43 ` svenper
2020-04-17 20:43 ` svenper

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