Package Details: perl-convert-bencode-xs 0.06-1

Git Clone URL: https://aur.archlinux.org/perl-convert-bencode-xs.git (read-only, click to copy)
Package Base: perl-convert-bencode-xs
Description: Faster conversions to/from Bencode format
Upstream URL: https://metacpan.org/release/Convert-Bencode_XS
Licenses: GPL, PerlArtistic
Submitter: dywedir
Maintainer: jnbek
Last Packager: jnbek
Votes: 1
Popularity: 0.000000
First Submitted: 2015-01-02 20:59 (UTC)
Last Updated: 2016-03-26 22:51 (UTC)

Latest Comments

Ketchup901 commented on 2022-09-25 10:55 (UTC)

Use this patch (apply with git apply).

diff --git a/PKGBUILD b/PKGBUILD
index b2fc821..efbda32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,11 +11,15 @@ options=('!emptydirs')
 depends=('perl')
 makedepends=()
 url='https://metacpan.org/release/Convert-Bencode_XS'
-source=('http://search.cpan.org/CPAN/authors/id/I/IW/IWADE/Convert-Bencode_XS-0.06.tar.gz')
-md5sums=('472a1081a20b0d42175e103c7c84b0ef')
-sha512sums=('0f7a0afa3e5a270b982852903d5809c7964c174886cb99fa5a3e5e1e62a10ba9f68791c2a7d31b1f56ecbcac307b949dfc4660c613510d06a99f56dffd33adde')
+source=('http://search.cpan.org/CPAN/authors/id/I/IW/IWADE/Convert-Bencode_XS-0.06.tar.gz' 'https://rt.cpan.org/Ticket/Attachment/1433449/761974/patch-t_001_tests_t')
+md5sums=('472a1081a20b0d42175e103c7c84b0ef' '32a56109b7f963336158e1e9be1a0636')
+sha512sums=('0f7a0afa3e5a270b982852903d5809c7964c174886cb99fa5a3e5e1e62a10ba9f68791c2a7d31b1f56ecbcac307b949dfc4660c613510d06a99f56dffd33adde' '713653dbaa741ace8ea84e66ec0167a57e635db064ceb839580b8295d1f2cc27b989aa06689c033011066b6c4ee4a9df4e6b2c1bc08cfc48fe96140bdb42af44')
 _distdir="Convert-Bencode_XS-0.06"

+prepare() {
+  patch -d "$srcdir/$_distdir" -uNp0 < patch-t_001_tests_t
+}
+
 build() {
   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
       PERL_AUTOINSTALL=--skipdeps                            \

wangqr commented on 2018-06-11 11:13 (UTC) (edited on 2018-06-11 11:18 (UTC) by wangqr)

The issue to the package ( https://rt.cpan.org/Public/Bug/Display.html?id=87012 ) was opened in 2014 and still not fixed. Can we just apply the patch in prepare() in PKGBUILD?

xf1 commented on 2017-04-29 05:52 (UTC)

need a patch to pass test. https://github.com/rakshasa/rtorrent/issues/489