[arch-commits] Commit in serf/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 16 13:57:55 UTC 2020
Date: Saturday, May 16, 2020 @ 13:57:55
Author: foutrelis
Revision: 384709
archrelease: copy trunk to staging-x86_64
Added:
serf/repos/staging-x86_64/
serf/repos/staging-x86_64/PKGBUILD
(from rev 384707, serf/trunk/PKGBUILD)
serf/repos/staging-x86_64/scons-python3.patch
(from rev 384707, serf/trunk/scons-python3.patch)
---------------------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
scons-python3.patch | 24 ++++++++++++++++++++++++
2 files changed, 65 insertions(+)
Copied: serf/repos/staging-x86_64/PKGBUILD (from rev 384707, serf/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-16 13:57:55 UTC (rev 384709)
@@ -0,0 +1,41 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+
+pkgname=serf
+pkgver=1.3.9
+pkgrel=5
+pkgdesc="High-performance asynchronous HTTP client library"
+arch=('x86_64')
+url="https://serf.apache.org"
+license=('Apache')
+depends=('apr-util')
+makedepends=('scons')
+source=(https://www.apache.org/dist/serf/${pkgname}-${pkgver}.tar.bz2{,.asc} scons-python3.patch)
+validpgpkeys=('C236283C970D2C3CFEEB4936BF35CF0078383142')
+sha256sums=('549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc'
+ 'SKIP'
+ '363732546098b4c9415eb5d38b595d04c660c6324a34159768d334507b7d241f')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../scons-python3.patch
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ scons CFLAGS="${CFLAGS}" \
+ LINKFLAGS="${LDFLAGS}" \
+ PREFIX=/usr GSSAPI=/usr/bin/krb5-config
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ # Runs into infinite loop
+ #scons check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -d "${pkgdir}/usr"
+ scons install --install-sandbox="${pkgdir}"
+}
Copied: serf/repos/staging-x86_64/scons-python3.patch (from rev 384707, serf/trunk/scons-python3.patch)
===================================================================
--- staging-x86_64/scons-python3.patch (rev 0)
+++ staging-x86_64/scons-python3.patch 2020-05-16 13:57:55 UTC (rev 384709)
@@ -0,0 +1,24 @@
+--- serf-1.3.9/SConstruct.orig 2019-07-26 17:49:30.910189251 +0000
++++ serf-1.3.9/SConstruct 2019-07-26 17:49:54.073821735 +0000
+@@ -163,9 +163,9 @@
+ suffix='.def', src_suffix='.h')
+ })
+
+-match = re.search('SERF_MAJOR_VERSION ([0-9]+).*'
+- 'SERF_MINOR_VERSION ([0-9]+).*'
+- 'SERF_PATCH_VERSION ([0-9]+)',
++match = re.search(b'SERF_MAJOR_VERSION ([0-9]+).*'
++ b'SERF_MINOR_VERSION ([0-9]+).*'
++ b'SERF_PATCH_VERSION ([0-9]+)',
+ env.File('serf.h').get_contents(),
+ re.DOTALL)
+ MAJOR, MINOR, PATCH = [int(x) for x in match.groups()]
+@@ -183,7 +183,7 @@
+
+ unknown = opts.UnknownVariables()
+ if unknown:
+- print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
++ print ('Warning: Used unknown variables:', ', '.join(unknown.keys()))
+
+ apr = str(env['APR'])
+ apu = str(env['APU'])
More information about the arch-commits
mailing list