Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / perl-encode-imaputf7
Commits: c16494f1 by Antonio Rojas at 2024-09-01T23:49:35+02:00 upgpkg: 1.05-10: perl 5.40.0 rebuild - - - - - 3 changed files: - .SRCINFO - + Encode-IMAPUTF7-1.05-Use-Exporter-for-encode-decode.patch - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = perl-encode-imaputf7 pkgdesc = Modification of UTF-7 encoding for IMAP pkgver = 1.05 - pkgrel = 9 + pkgrel = 10 url = https://search.cpan.org/dist/Encode-IMAPUTF7 arch = any license = GPL @@ -9,6 +9,8 @@ pkgbase = perl-encode-imaputf7 options = !emptydirs options = purge source = https://cpan.metacpan.org/authors/id/P/PM/PMAKHOLM/Encode-IMAPUTF7-1.05.tar.gz + source = Encode-IMAPUTF7-1.05-Use-Exporter-for-encode-decode.patch b2sums = 8024f0029145df4ec409394eaa799612dadd65a1bc6f2e9fdad51a950a0756b73daa5da2579f22d38efd367642a9ae0f7402f6beeea02a51f84a725803849ba6 + b2sums = 3105a24de323e59cf02f12646063d7cf7f79b2b25db8caf0022678c4f41a458f914cd5908523f166e209abec37a72f14369e1ab8e0f7311ffb9f8b333802944c pkgname = perl-encode-imaputf7 ===================================== Encode-IMAPUTF7-1.05-Use-Exporter-for-encode-decode.patch ===================================== @@ -0,0 +1,13 @@ +diff -up Encode-IMAPUTF7-1.05/lib/Encode/IMAPUTF7.pm.orig Encode-IMAPUTF7-1.05/lib/Encode/IMAPUTF7.pm +--- Encode-IMAPUTF7-1.05/lib/Encode/IMAPUTF7.pm.orig 2024-05-09 12:22:35.502986662 +0200 ++++ Encode-IMAPUTF7-1.05/lib/Encode/IMAPUTF7.pm 2024-05-09 12:24:03.958733794 +0200 +@@ -10,6 +10,9 @@ our $VERSION = '1.05'; + use MIME::Base64; + use Encode; + ++use Exporter 'import'; ++our @EXPORT_OK = qw(encode decode); ++ + # + # Algorithms taken from Unicode::String by Gisle Aas + # Code directly borrowed from Encode::Unicode::UTF7 by Dan Kogai ===================================== PKGBUILD ===================================== @@ -3,15 +3,22 @@ pkgname='perl-encode-imaputf7' pkgver=1.05 -pkgrel=9 +pkgrel=10 pkgdesc='Modification of UTF-7 encoding for IMAP' arch=('any') url='https://search.cpan.org/dist/Encode-IMAPUTF7' license=('GPL') checkdepends=('perl-test-nowarnings') options=('!emptydirs' purge) -source=("https://cpan.metacpan.org/authors/id/P/PM/PMAKHOLM/Encode-IMAPUTF7-${pkgver}.tar.gz") -b2sums=('8024f0029145df4ec409394eaa799612dadd65a1bc6f2e9fdad51a950a0756b73daa5da2579f22d38efd367642a9ae0f7402f6beeea02a51f84a725803849ba6') +source=("https://cpan.metacpan.org/authors/id/P/PM/PMAKHOLM/Encode-IMAPUTF7-${pkgver}.tar.gz" + Encode-IMAPUTF7-1.05-Use-Exporter-for-encode-decode.patch) +b2sums=('8024f0029145df4ec409394eaa799612dadd65a1bc6f2e9fdad51a950a0756b73daa5da2579f22d38efd367642a9ae0f7402f6beeea02a51f84a725803849ba6' + '3105a24de323e59cf02f12646063d7cf7f79b2b25db8caf0022678c4f41a458f914cd5908523f166e209abec37a72f14369e1ab8e0f7311ffb9f8b333802944c') + +prepare() { + cd Encode-IMAPUTF7-${pkgver} + patch -p1 -i ../Encode-IMAPUTF7-1.05-Use-Exporter-for-encode-decode.patch # Fix tests with perl 5.40 (Fedora) +} build() { cd Encode-IMAPUTF7-${pkgver} View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/perl-encode-imaputf7/-/commit/c16494f13496c7b61e30feae852e042a3c2fbf4d -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/perl-encode-imaputf7/-/commit/c16494f13496c7b61e30feae852e042a3c2fbf4d You're receiving this email because of your account on gitlab.archlinux.org.