[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-11-12 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 12, 2020 @ 17:37:30
  Author: foutrelis
Revision: 752726

upgpkg: xrootd 5.0.2-2: Python 3.9 rebuild

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 17:37:29 UTC (rev 752725)
+++ PKGBUILD2020-11-12 17:37:30 UTC (rev 752726)
@@ -4,7 +4,7 @@
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
 pkgver=5.0.2
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://xrootd.slac.stanford.edu/;
 license=('LGPL3')


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-09-26 Thread Konstantin Gizdov via arch-commits
Date: Saturday, September 26, 2020 @ 15:11:40
  Author: kgizdov
Revision: 712470

upgpkg: xrootd 5.0.2-1

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-26 15:08:13 UTC (rev 712469)
+++ PKGBUILD2020-09-26 15:11:40 UTC (rev 712470)
@@ -3,8 +3,8 @@
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=5.0.1
-pkgrel=2
+pkgver=5.0.2
+pkgrel=1
 arch=('x86_64')
 url="https://xrootd.slac.stanford.edu/;
 license=('LGPL3')


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-09-01 Thread Konstantin Gizdov via arch-commits
Date: Tuesday, September 1, 2020 @ 11:04:39
  Author: kgizdov
Revision: 695360

libxcrypt rebuild

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-01 11:02:06 UTC (rev 695359)
+++ PKGBUILD2020-09-01 11:04:39 UTC (rev 695360)
@@ -4,7 +4,7 @@
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
 pkgver=5.0.1
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://xrootd.slac.stanford.edu/;
 license=('LGPL3')


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-08-18 Thread Konstantin Gizdov via arch-commits
Date: Tuesday, August 18, 2020 @ 20:39:51
  Author: kgizdov
Revision: 684847

upgpkg: xrootd 5.0.1-1

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-18 20:38:54 UTC (rev 684846)
+++ PKGBUILD2020-08-18 20:39:51 UTC (rev 684847)
@@ -3,8 +3,8 @@
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=5.0.0
-pkgrel=2
+pkgver=5.0.1
+pkgrel=1
 arch=('x86_64')
 url="https://xrootd.slac.stanford.edu/;
 license=('LGPL3')


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-07-24 Thread Konstantin Gizdov via arch-commits
Date: Friday, July 24, 2020 @ 09:13:04
  Author: kgizdov
Revision: 665138

make sure to add submodules

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-24 08:51:10 UTC (rev 665137)
+++ PKGBUILD2020-07-24 09:13:04 UTC (rev 665138)
@@ -4,19 +4,19 @@
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
 pkgver=5.0.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://xrootd.slac.stanford.edu/;
 license=('LGPL3')
-depends=('ceph' 'curl' 'json-c' 'libxml2' 'openssl' 'perl' 'python')
-makedepends=('cmake')
+depends=('ceph' 'curl' 'json-c' 'libxml2' 'openssl' 'perl' 'python' 'systemd')
+makedepends=('cmake' 'git')
 checkdepends=('cppunit')
 source=(
-"${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+
"${pkgname}-${pkgver}::git+https://github.com/${pkgname}/${pkgname}.git#tag=v${pkgver};
 'cxx17.patch'
 'add_missing_header.patch'
 )
-sha256sums=('cb5ae36e3ed3015691b9d3884ea863c5772658d6af7c35f19b6b7233e2a11359'
+sha256sums=('SKIP'
 '828de400b8fef40a80b9eadb8198fdfe7c991515a466045b699425df2f681817'
 '68eac594d8d3b15c1e4d8522c4422a26c9a51c9206d3a88fedf00d4e9599d455')
 
@@ -26,6 +26,8 @@
 
 prepare () {
 cd "${srcdir}/${pkgbase}-${pkgver}"
+# source tarballs don't seem to contain all submodules anymore
+git submodule update --init --recursive
 patch -Np1 -i "${srcdir}/cxx17.patch"
 patch -Np1 -i "${srcdir}/add_missing_header.patch"
 }


[arch-commits] Commit in xrootd/trunk (PKGBUILD add_missing_header.patch cxx17.patch)

2020-07-23 Thread Konstantin Gizdov via arch-commits
Date: Thursday, July 23, 2020 @ 21:26:21
  Author: kgizdov
Revision: 665106

upgpkg: xrootd 5.0.0-1

Added:
  xrootd/trunk/add_missing_header.patch
Modified:
  xrootd/trunk/PKGBUILD
  xrootd/trunk/cxx17.patch

--+
 PKGBUILD |   19 +++---
 add_missing_header.patch |   27 ++
 cxx17.patch  |   46 +
 3 files changed, 73 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-23 21:06:33 UTC (rev 665105)
+++ PKGBUILD2020-07-23 21:26:21 UTC (rev 665106)
@@ -3,18 +3,22 @@
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.12.3
-pkgrel=2
+pkgver=5.0.0
+pkgrel=1
 arch=('x86_64')
 url="https://xrootd.slac.stanford.edu/;
 license=('LGPL3')
-depends=('ceph' 'curl' 'libxml2' 'openssl' 'perl' 'python')
+depends=('ceph' 'curl' 'json-c' 'libxml2' 'openssl' 'perl' 'python')
 makedepends=('cmake')
 checkdepends=('cppunit')
-source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
-'cxx17.patch')
-sha256sums=('6f2ca1accc8d49d605706bb556777c753860bf46d845b1ee11393a5cb5987f15'
-'ad423ea5c78c89e4f048da5c0ffd0fe263a3005e6de638077fbd770de89603eb')
+source=(
+"${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+'cxx17.patch'
+'add_missing_header.patch'
+)
+sha256sums=('cb5ae36e3ed3015691b9d3884ea863c5772658d6af7c35f19b6b7233e2a11359'
+'828de400b8fef40a80b9eadb8198fdfe7c991515a466045b699425df2f681817'
+'68eac594d8d3b15c1e4d8522c4422a26c9a51c9206d3a88fedf00d4e9599d455')
 
 get_pyver () {
 python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
@@ -23,6 +27,7 @@
 prepare () {
 cd "${srcdir}/${pkgbase}-${pkgver}"
 patch -Np1 -i "${srcdir}/cxx17.patch"
+patch -Np1 -i "${srcdir}/add_missing_header.patch"
 }
 
 build() {

Added: add_missing_header.patch
===
--- add_missing_header.patch(rev 0)
+++ add_missing_header.patch2020-07-23 21:26:21 UTC (rev 665106)
@@ -0,0 +1,27 @@
+diff --git a/src/Xrd/XrdConfig.cc b/src/Xrd/XrdConfig.cc
+index 1be14323e..4b6d9caec 100644
+--- a/src/Xrd/XrdConfig.cc
 b/src/Xrd/XrdConfig.cc
+@@ -46,6 +46,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+
+ #include "XrdVersion.hh"
+@@ -793,12 +794,12 @@ int XrdConfig::ConfigXeq(char *var, XrdOucStream 
, XrdSysError *eDest)
+
+ int XrdConfig::ASocket(const char *path, const char *fname, mode_t mode)
+ {
+-   struct sockaddr_un unix;
++   struct sockaddr_un my_local_unix;
+int  plen = strlen(path), flen = strlen(fname);
+
+ // Make sure we can fit everything in our buffer
+ //
+-   if ((plen + flen + 3) > (int)sizeof(unix.sun_path))
++   if ((plen + flen + 3) > (int)sizeof(my_local_unix.sun_path))
+   {Log.Emsg("Config", "admin path", path, "too long");
+return 1;
+   }

Modified: cxx17.patch
===
--- cxx17.patch 2020-07-23 21:06:33 UTC (rev 665105)
+++ cxx17.patch 2020-07-23 21:26:21 UTC (rev 665106)
@@ -1,33 +1,36 @@
 diff --git a/bindings/python/setup.py.in b/bindings/python/setup.py.in
-index 74fbe36a6..6bedbead8 100644
+index cea13f3a9..dcfc46b05 100644
 --- a/bindings/python/setup.py.in
 +++ b/bindings/python/setup.py.in
-@@ -8,15 +8,15 @@
+@@ -8,15 +8,15 @@ import subprocess
  # Remove the "-Wstrict-prototypes" compiler option, which isn't valid for C++.
  cfg_vars = sysconfig.get_config_vars()
  opt = cfg_vars["OPT"]
 -cfg_vars["OPT"] = " ".join( flag for flag in opt.split() if flag not in 
['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
 +cfg_vars["OPT"] = " ".join( flag for flag in opt.split() if flag not in 
['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
-
+ 
  cflags = cfg_vars["CFLAGS"]
--cfg_vars["CFLAGS"] =  " ".join( flag for flag in cflags.split() if flag not 
in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
-+cfg_vars["CFLAGS"] =  " ".join( flag for flag in cflags.split() if flag not 
in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
-
+-cfg_vars["CFLAGS"] = " ".join( flag for flag in cflags.split() if flag not in 
['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
++cfg_vars["CFLAGS"] = " ".join( flag for flag in cflags.split() if flag not in 
['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
+ 
  # pypy doesn't define PY_CFLAGS so skip it if it's missing
  if "PY_CFLAGS" in cfg_vars:
py_cflags = cfg_vars["PY_CFLAGS"]
 -  cfg_vars["PY_CFLAGS"] = " ".join( flag for flag in py_cflags.split() if 
flag not in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
 +  

[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-06-15 Thread Konstantin Gizdov via arch-commits
Date: Monday, June 15, 2020 @ 12:28:18
  Author: kgizdov
Revision: 645048

project URL moved

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-15 12:26:25 UTC (rev 645047)
+++ PKGBUILD2020-06-15 12:28:18 UTC (rev 645048)
@@ -4,9 +4,9 @@
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
 pkgver=4.12.3
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
-url="http://xrootd.org;
+url="https://xrootd.slac.stanford.edu/;
 license=('LGPL3')
 depends=('ceph' 'curl' 'libxml2' 'openssl' 'perl' 'python')
 makedepends=('cmake')


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-06-11 Thread Konstantin Gizdov via arch-commits
Date: Thursday, June 11, 2020 @ 17:39:50
  Author: kgizdov
Revision: 642065

upgpkg: xrootd 4.12.3-1

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-11 17:39:05 UTC (rev 642064)
+++ PKGBUILD2020-06-11 17:39:50 UTC (rev 642065)
@@ -3,7 +3,7 @@
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.12.2
+pkgver=4.12.3
 pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
@@ -13,7 +13,7 @@
 checkdepends=('cppunit')
 source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
 'cxx17.patch')
-sha256sums=('29f7bc3ea51b9d5d310eabd177152245d4160223325933c67f938ed5120f67bb'
+sha256sums=('6f2ca1accc8d49d605706bb556777c753860bf46d845b1ee11393a5cb5987f15'
 'ad423ea5c78c89e4f048da5c0ffd0fe263a3005e6de638077fbd770de89603eb')
 
 get_pyver () {


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-06-09 Thread Konstantin Gizdov via arch-commits
Date: Tuesday, June 9, 2020 @ 14:15:47
  Author: kgizdov
Revision: 640731

upgpkg: xrootd 4.12.2-1

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-09 14:14:58 UTC (rev 640730)
+++ PKGBUILD2020-06-09 14:15:47 UTC (rev 640731)
@@ -3,7 +3,7 @@
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.12.1
+pkgver=4.12.2
 pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
@@ -13,7 +13,7 @@
 checkdepends=('cppunit')
 source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
 'cxx17.patch')
-sha256sums=('7350d9196a26d17719b839fd242849e3995692fda25f242e67ac6ec907218d13'
+sha256sums=('29f7bc3ea51b9d5d310eabd177152245d4160223325933c67f938ed5120f67bb'
 'ad423ea5c78c89e4f048da5c0ffd0fe263a3005e6de638077fbd770de89603eb')
 
 get_pyver () {


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-05-25 Thread Konstantin Gizdov via arch-commits
Date: Monday, May 25, 2020 @ 14:08:46
  Author: kgizdov
Revision: 634382

upgpkg: xrootd 4.12.1-1

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-25 14:08:15 UTC (rev 634381)
+++ PKGBUILD2020-05-25 14:08:46 UTC (rev 634382)
@@ -3,7 +3,7 @@
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.12.0
+pkgver=4.12.1
 pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
@@ -13,7 +13,7 @@
 checkdepends=('cppunit')
 source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
 'cxx17.patch')
-sha256sums=('69ef4732256d9a88127de4bfdf96bbf73348e0c70ce1d756264871a0ffadd2fc'
+sha256sums=('7350d9196a26d17719b839fd242849e3995692fda25f242e67ac6ec907218d13'
 'ad423ea5c78c89e4f048da5c0ffd0fe263a3005e6de638077fbd770de89603eb')
 
 get_pyver () {


[arch-commits] Commit in xrootd/trunk (PKGBUILD cxx17.patch)

2020-05-08 Thread Konstantin Gizdov via arch-commits
Date: Friday, May 8, 2020 @ 12:15:22
  Author: kgizdov
Revision: 625611

upgpkg: xrootd 4.12.0-1

Modified:
  xrootd/trunk/PKGBUILD
  xrootd/trunk/cxx17.patch

-+
 PKGBUILD|   10 +++---
 cxx17.patch |   16 +---
 2 files changed, 16 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-08 12:06:40 UTC (rev 625610)
+++ PKGBUILD2020-05-08 12:15:22 UTC (rev 625611)
@@ -3,7 +3,7 @@
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.11.3
+pkgver=4.12.0
 pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
@@ -13,8 +13,8 @@
 checkdepends=('cppunit')
 source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
 'cxx17.patch')
-sha256sums=('8e7a64fd55dfb452b6d5f76a9a97c493593943227b377623a3032da9197c7f65'
-'9cc3acec0753355772c0d0d9de40456aeb3f578c092c4fd3d38f6463d58d5103')
+sha256sums=('69ef4732256d9a88127de4bfdf96bbf73348e0c70ce1d756264871a0ffadd2fc'
+'ad423ea5c78c89e4f048da5c0ffd0fe263a3005e6de638077fbd770de89603eb')
 
 get_pyver () {
 python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
@@ -76,4 +76,8 @@
 # drop unneeded test bin & lib
 rm "${pkgdir}/usr/bin/text-runner"
 rm "${pkgdir}/usr/lib/libXrdClTests.so"
+install -d "${pkgdir}/usr/lib/cmake/XRootD"
+mv "${pkgdir}/usr/share/xrootd/cmake/XRootDConfig.cmake" 
"${pkgdir}/usr/lib/cmake/XRootD"/
+rm -rf "${pkgdir}/usr/share/xrootd/cmake"
+ln -s "/usr/lib/cmake" "${pkgdir}/usr/share/xrootd/cmake"
 }

Modified: cxx17.patch
===
--- cxx17.patch 2020-05-08 12:06:40 UTC (rev 625610)
+++ cxx17.patch 2020-05-08 12:15:22 UTC (rev 625611)
@@ -2,21 +2,23 @@
 index 74fbe36a6..6bedbead8 100644
 --- a/bindings/python/setup.py.in
 +++ b/bindings/python/setup.py.in
-@@ -8,13 +8,13 @@ import subprocess
+@@ -8,15 +8,15 @@
  # Remove the "-Wstrict-prototypes" compiler option, which isn't valid for C++.
  cfg_vars = sysconfig.get_config_vars()
  opt = cfg_vars["OPT"]
 -cfg_vars["OPT"] = " ".join( flag for flag in opt.split() if flag not in 
['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
 +cfg_vars["OPT"] = " ".join( flag for flag in opt.split() if flag not in 
['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
- 
+
  cflags = cfg_vars["CFLAGS"]
 -cfg_vars["CFLAGS"] =  " ".join( flag for flag in cflags.split() if flag not 
in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
 +cfg_vars["CFLAGS"] =  " ".join( flag for flag in cflags.split() if flag not 
in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
- 
- py_cflags = cfg_vars["PY_CFLAGS"]
--cfg_vars["PY_CFLAGS"] = " ".join( flag for flag in py_cflags.split() if flag 
not in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
-+cfg_vars["PY_CFLAGS"] = " ".join( flag for flag in py_cflags.split() if flag 
not in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
- 
+
+ # pypy doesn't define PY_CFLAGS so skip it if it's missing
+ if "PY_CFLAGS" in cfg_vars:
+   py_cflags = cfg_vars["PY_CFLAGS"]
+-  cfg_vars["PY_CFLAGS"] = " ".join( flag for flag in py_cflags.split() if 
flag not in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
++  cfg_vars["PY_CFLAGS"] = " ".join( flag for flag in py_cflags.split() if 
flag not in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
+
  ccl=cfg_vars["CC"].split()
  ccl[0]="${CMAKE_C_COMPILER}"
 diff --git a/cmake/XRootDOSDefs.cmake b/cmake/XRootDOSDefs.cmake


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-03-24 Thread Konstantin Gizdov via arch-commits
Date: Tuesday, March 24, 2020 @ 12:45:23
  Author: kgizdov
Revision: 603813

upgpkg: xrootd 4.11.3-1

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-24 12:44:56 UTC (rev 603812)
+++ PKGBUILD2020-03-24 12:45:23 UTC (rev 603813)
@@ -3,7 +3,7 @@
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.11.2
+pkgver=4.11.3
 pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
@@ -13,7 +13,7 @@
 checkdepends=('cppunit')
 source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
 'cxx17.patch')
-sha256sums=('4620824db97fcc37dc3dd26110da8e5c3aab1d8302e4921d4f32e83207060603'
+sha256sums=('8e7a64fd55dfb452b6d5f76a9a97c493593943227b377623a3032da9197c7f65'
 '9cc3acec0753355772c0d0d9de40456aeb3f578c092c4fd3d38f6463d58d5103')
 
 get_pyver () {


[arch-commits] Commit in xrootd/trunk (PKGBUILD cxx17.patch)

2020-02-24 Thread Konstantin Gizdov via arch-commits
Date: Monday, February 24, 2020 @ 17:28:36
  Author: kgizdov
Revision: 580664

upgpkg: xrootd 4.11.2-1

Added:
  xrootd/trunk/cxx17.patch
Modified:
  xrootd/trunk/PKGBUILD

-+
 PKGBUILD|   21 -
 cxx17.patch |   54 ++
 2 files changed, 70 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-24 17:24:55 UTC (rev 580663)
+++ PKGBUILD2020-02-24 17:28:36 UTC (rev 580664)
@@ -3,21 +3,28 @@
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.11.1
+pkgver=4.11.2
 pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
 license=('LGPL3')
-depends=('ceph' 'python' 'cppunit')
-makedepends=('ceph' 'cmake' 'python')
+depends=('ceph' 'curl' 'libxml2' 'openssl' 'perl' 'python')
+makedepends=('cmake')
 checkdepends=('cppunit')
-source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('87fa867168e5accc36a37cfe66a3b64f2cf2a91e2975b85adbf5efda6c9d7029')
+source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+'cxx17.patch')
+sha256sums=('4620824db97fcc37dc3dd26110da8e5c3aab1d8302e4921d4f32e83207060603'
+'9cc3acec0753355772c0d0d9de40456aeb3f578c092c4fd3d38f6463d58d5103')
 
 get_pyver () {
 python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
 }
 
+prepare () {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+patch -Np1 -i "${srcdir}/cxx17.patch"
+}
+
 build() {
 cd "${srcdir}/${pkgbase}-${pkgver}"
 
@@ -31,6 +38,7 @@
 cmake -DCMAKE_BUILD_TYPE:STRING=Release \
   -DCMAKE_INSTALL_LIBDIR:PATH=lib \
   -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+  -DCMAKE_CXX_STANDARD="17" \
   -DENABLE_TESTS=1 \
   -DXRD_PYTHON_REQ_VERSION=$(get_pyver) \
   "${srcdir}/${pkgbase}-${pkgver}"
@@ -65,4 +73,7 @@
 package() {
 cd "${srcdir}/build"
 make DESTDIR="${pkgdir}" install
+# drop unneeded test bin & lib
+rm "${pkgdir}/usr/bin/text-runner"
+rm "${pkgdir}/usr/lib/libXrdClTests.so"
 }

Added: cxx17.patch
===
--- cxx17.patch (rev 0)
+++ cxx17.patch 2020-02-24 17:28:36 UTC (rev 580664)
@@ -0,0 +1,54 @@
+diff --git a/bindings/python/setup.py.in b/bindings/python/setup.py.in
+index 74fbe36a6..6bedbead8 100644
+--- a/bindings/python/setup.py.in
 b/bindings/python/setup.py.in
+@@ -8,13 +8,13 @@ import subprocess
+ # Remove the "-Wstrict-prototypes" compiler option, which isn't valid for C++.
+ cfg_vars = sysconfig.get_config_vars()
+ opt = cfg_vars["OPT"]
+-cfg_vars["OPT"] = " ".join( flag for flag in opt.split() if flag not in 
['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
++cfg_vars["OPT"] = " ".join( flag for flag in opt.split() if flag not in 
['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
+ 
+ cflags = cfg_vars["CFLAGS"]
+-cfg_vars["CFLAGS"] =  " ".join( flag for flag in cflags.split() if flag not 
in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
++cfg_vars["CFLAGS"] =  " ".join( flag for flag in cflags.split() if flag not 
in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
+ 
+ py_cflags = cfg_vars["PY_CFLAGS"]
+-cfg_vars["PY_CFLAGS"] = " ".join( flag for flag in py_cflags.split() if flag 
not in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
++cfg_vars["PY_CFLAGS"] = " ".join( flag for flag in py_cflags.split() if flag 
not in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
+ 
+ ccl=cfg_vars["CC"].split()
+ ccl[0]="${CMAKE_C_COMPILER}"
+diff --git a/cmake/XRootDOSDefs.cmake b/cmake/XRootDOSDefs.cmake
+index 4933fd13f..20d8c524b 100644
+--- a/cmake/XRootDOSDefs.cmake
 b/cmake/XRootDOSDefs.cmake
+@@ -21,13 +21,13 @@ add_definitions( 
-DUSE_LIBC_SEMAPHORE=${USE_LIBC_SEMAPHORE} )
+ 
#---
+ # Enable c++0x / c++11
+ 
#---
+-set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -DOPENSSL_NO_FILENAMES" )
++set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -DOPENSSL_NO_FILENAMES" )
+ 
+ 
#---
+ # GCC
+ 
#---
+ if( CMAKE_COMPILER_IS_GNUCXX )
+-  set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x" )
++  set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17" )
+   set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" )
+   
#-
+   # Set -Werror only for Debug (or undefined) build type or if we have been
+diff --git 

[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2020-01-07 Thread Konstantin Gizdov via arch-commits
Date: Tuesday, January 7, 2020 @ 18:46:04
  Author: kgizdov
Revision: 550063

upgpkg: xrootd 4.11.1-1

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-07 18:45:49 UTC (rev 550062)
+++ PKGBUILD2020-01-07 18:46:04 UTC (rev 550063)
@@ -2,12 +2,9 @@
 # Contributor: Jan Kašpar < jan.kaspar at gmail dot com >
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
-provides=('python-xrootd' 'python-pyxrootd')
-replaces=('python-xrootd' 'python-pyxrootd')
-conflicts=('python2-xrootd' 'python2-pyxrootd')
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.11.0
-pkgrel=3
+pkgver=4.11.1
+pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
 license=('LGPL3')
@@ -15,7 +12,7 @@
 makedepends=('ceph' 'cmake' 'python')
 checkdepends=('cppunit')
 source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('378f1d264504c006438db6d4a68565aef1a796aa60a6e1843c0daa3af639ab7f')
+sha256sums=('87fa867168e5accc36a37cfe66a3b64f2cf2a91e2975b85adbf5efda6c9d7029')
 
 get_pyver () {
 python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2019-12-25 Thread Andreas Radke via arch-commits
Date: Wednesday, December 25, 2019 @ 12:41:28
  Author: andyrtr
Revision: 540921

upgpkg: xrootd 4.11.0-3: cppunit rebuild

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-25 12:41:27 UTC (rev 540920)
+++ PKGBUILD2019-12-25 12:41:28 UTC (rev 540921)
@@ -7,7 +7,7 @@
 conflicts=('python2-xrootd' 'python2-pyxrootd')
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
 pkgver=4.11.0
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url="http://xrootd.org;
 license=('LGPL3')


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 07:24:23
  Author: felixonmars
Revision: 523489

Python 3.8 rebuild

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 07:23:59 UTC (rev 523488)
+++ PKGBUILD2019-11-04 07:24:23 UTC (rev 523489)
@@ -7,7 +7,7 @@
 conflicts=('python2-xrootd' 'python2-pyxrootd')
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
 pkgver=4.11.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="http://xrootd.org;
 license=('LGPL3')


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2019-10-10 Thread Konstantin Gizdov via arch-commits
Date: Thursday, October 10, 2019 @ 07:36:19
  Author: kgizdov
Revision: 514412

upgpkg: xrootd 4.11.0-1

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-10 07:27:51 UTC (rev 514411)
+++ PKGBUILD2019-10-10 07:36:19 UTC (rev 514412)
@@ -6,7 +6,7 @@
 replaces=('python-xrootd' 'python-pyxrootd')
 conflicts=('python2-xrootd' 'python2-pyxrootd')
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.10.0
+pkgver=4.11.0
 pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
@@ -15,7 +15,7 @@
 makedepends=('ceph' 'cmake' 'python')
 checkdepends=('cppunit')
 source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('f07f85e27d72e9e8ff124173c7b53619aed8fcd36f9d6234c33f8f7fd511995b')
+sha256sums=('378f1d264504c006438db6d4a68565aef1a796aa60a6e1843c0daa3af639ab7f')
 
 get_pyver () {
 python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2019-07-18 Thread Konstantin Gizdov via arch-commits
Date: Thursday, July 18, 2019 @ 14:03:17
  Author: kgizdov
Revision: 491577

upgpkg: xrootd 4.10.0-1

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-18 14:02:24 UTC (rev 491576)
+++ PKGBUILD2019-07-18 14:03:17 UTC (rev 491577)
@@ -6,8 +6,8 @@
 replaces=('python-xrootd' 'python-pyxrootd')
 conflicts=('python2-xrootd' 'python2-pyxrootd')
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.9.1
-pkgrel=2
+pkgver=4.10.0
+pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
 license=('LGPL3')
@@ -15,7 +15,7 @@
 makedepends=('ceph' 'cmake' 'python')
 checkdepends=('cppunit')
 source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('de47160348d52a655f8d601520ad9146b9ee76eb5d2352cdf232a6fafce27adb')
+sha256sums=('f07f85e27d72e9e8ff124173c7b53619aed8fcd36f9d6234c33f8f7fd511995b')
 
 get_pyver () {
 python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
@@ -45,7 +45,8 @@
 check() {
 cd "${srcdir}/build/tests"
 
-./common/text-runner ./XrdCephTests/libXrdCephTests.so "All Tests"
+# Check has significantly changed, to-be-updated
+# ./common/text-runner ./XrdCephTests/libXrdCephTests.so "All Tests"
 
 ##
 # This requires a running XRootD server with multiIP DNS forwarder and 
local disk servers


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2019-06-26 Thread Konstantin Gizdov via arch-commits
Date: Wednesday, June 26, 2019 @ 09:38:31
  Author: kgizdov
Revision: 484317

GCC 9 recompile

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-26 09:37:25 UTC (rev 484316)
+++ PKGBUILD2019-06-26 09:38:31 UTC (rev 484317)
@@ -7,7 +7,7 @@
 conflicts=('python2-xrootd' 'python2-pyxrootd')
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
 pkgver=4.9.1
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="http://xrootd.org;
 license=('LGPL3')


[arch-commits] Commit in xrootd/trunk (PKGBUILD fix_signness.patch)

2019-04-09 Thread Konstantin Gizdov via arch-commits
Date: Tuesday, April 9, 2019 @ 21:24:44
  Author: kgizdov
Revision: 450687

upgpkg: xrootd 4.9.1-1

Modified:
  xrootd/trunk/PKGBUILD
Deleted:
  xrootd/trunk/fix_signness.patch

+
 PKGBUILD   |   15 ---
 fix_signness.patch |   44 
 2 files changed, 4 insertions(+), 55 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-09 20:32:15 UTC (rev 450686)
+++ PKGBUILD2019-04-09 21:24:44 UTC (rev 450687)
@@ -6,8 +6,8 @@
 replaces=('python-xrootd' 'python-pyxrootd')
 conflicts=('python2-xrootd' 'python2-pyxrootd')
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.9.0
-pkgrel=2
+pkgver=4.9.1
+pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
 license=('LGPL3')
@@ -14,20 +14,13 @@
 depends=('ceph' 'python' 'cppunit')
 makedepends=('ceph' 'cmake' 'python')
 checkdepends=('cppunit')
-source=("${url}/download/v${pkgver}/xrootd-${pkgver}.tar.gz"
-fix_signness.patch)
-sha256sums=('49791648bdc99ad87545f60d1808dacf926de7b843415ebdd181ccf43b2af8be'
-'f291968f0e17168330a422b43c92f1c2ec33f9c058f3310839ceeecff5e25f62')
+source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('de47160348d52a655f8d601520ad9146b9ee76eb5d2352cdf232a6fafce27adb')
 
 get_pyver () {
 python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
 }
 
-prepare() {
-cd "${srcdir}/${pkgbase}-${pkgver}"
-patch -Np1 -i "${srcdir}"/fix_signness.patch
-}
-
 build() {
 cd "${srcdir}/${pkgbase}-${pkgver}"
 

Deleted: fix_signness.patch
===
--- fix_signness.patch  2019-04-09 20:32:15 UTC (rev 450686)
+++ fix_signness.patch  2019-04-09 21:24:44 UTC (rev 450687)
@@ -1,44 +0,0 @@
-From 8e5940a2ebeb74d186a848da3bc21f1fa77c8835 Mon Sep 17 00:00:00 2001
-From: Konstantin Gizdov 
-Date: Sun, 3 Mar 2019 14:46:41 +0200
-Subject: [PATCH] fix signness and tests
-

- src/XrdCl/XrdClParallelOperation.hh| 4 ++--
- tests/XrdClTests/OperationsWorkflowTest.cc | 6 --
- 2 files changed, 2 insertions(+), 8 deletions(-)
-
-diff --git a/src/XrdCl/XrdClParallelOperation.hh 
b/src/XrdCl/XrdClParallelOperation.hh
-index 2bd13b63e43..897fae78a86 100644
 a/src/XrdCl/XrdClParallelOperation.hh
-+++ b/src/XrdCl/XrdClParallelOperation.hh
-@@ -89,10 +89,10 @@ namespace XrdCl
-   {
- std::ostringstream oss;
- oss << "Parallel(";
--for( int i = 0; i < pipelines.size(); i++ )
-+for( size_t i = 0; i < pipelines.size(); i++ )
- {
-   oss << pipelines[i]->ToString();
--  if( i != pipelines.size() - 1 )
-+  if( i + 1  != pipelines.size() )
-   {
- oss << " && ";
-   }
-diff --git a/tests/XrdClTests/OperationsWorkflowTest.cc 
b/tests/XrdClTests/OperationsWorkflowTest.cc
-index 26b1b517519..5e09b6689d1 100644
 a/tests/XrdClTests/OperationsWorkflowTest.cc
-+++ b/tests/XrdClTests/OperationsWorkflowTest.cc
-@@ -157,12 +157,6 @@ namespace {
-   bool executed;
- };
- 
--char* createBuf(const char* content, uint32_t length){
--char* buf = new char[length + 1]();
--strncpy(buf, content, length);
--return buf;
--}
--
- 
- 
- }


[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2019-03-03 Thread Konstantin Gizdov via arch-commits
Date: Sunday, March 3, 2019 @ 19:09:46
  Author: kgizdov
Revision: 437491

replace python variants and conflict python2

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-03 19:08:14 UTC (rev 437490)
+++ PKGBUILD2019-03-03 19:09:46 UTC (rev 437491)
@@ -3,9 +3,11 @@
 # Contributor: Alex Pearce < alex at alexpearce dot me >
 pkgname=xrootd
 provides=('python-xrootd' 'python-pyxrootd')
+replaces=('python-xrootd' 'python-pyxrootd')
+conflicts=('python2-xrootd' 'python2-pyxrootd')
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
 pkgver=4.9.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="http://xrootd.org;
 license=('LGPL3')


[arch-commits] Commit in xrootd/trunk (PKGBUILD fix_signness.patch)

2019-03-03 Thread Konstantin Gizdov via arch-commits
Date: Sunday, March 3, 2019 @ 13:00:02
  Author: kgizdov
Revision: 437456

update to v 4.9.0

Added:
  xrootd/trunk/fix_signness.patch
Modified:
  xrootd/trunk/PKGBUILD

+
 PKGBUILD   |  136 +++
 fix_signness.patch |   44 
 2 files changed, 64 insertions(+), 116 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-03 12:40:18 UTC (rev 437455)
+++ PKGBUILD2019-03-03 13:00:02 UTC (rev 437456)
@@ -1,11 +1,11 @@
 # Maintainer: Konstantin Gizdov < arch at kge dot pw >
 # Contributor: Jan Kašpar < jan.kaspar at gmail dot com >
 # Contributor: Alex Pearce < alex at alexpearce dot me >
-pkgbase=xrootd
-pkgname=('xrootd' 'python-xrootd' 'python-pyxrootd' 'python2-xrootd' 
'python2-pyxrootd')
+pkgname=xrootd
+provides=('python-xrootd' 'python-pyxrootd')
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
-pkgver=4.8.5
-pkgrel=6
+pkgver=4.9.0
+pkgrel=1
 arch=('x86_64')
 url="http://xrootd.org;
 license=('LGPL3')
@@ -12,9 +12,20 @@
 depends=('ceph' 'python' 'cppunit')
 makedepends=('ceph' 'cmake' 'python')
 checkdepends=('cppunit')
-source=("${url}/download/v${pkgver}/xrootd-${pkgver}.tar.gz")
-sha256sums=('42e4d2cc6f8b442135f09bcc12c7be38b1a0c623a005cb5e69ff3d27997bdf73')
+source=("${url}/download/v${pkgver}/xrootd-${pkgver}.tar.gz"
+fix_signness.patch)
+sha256sums=('49791648bdc99ad87545f60d1808dacf926de7b843415ebdd181ccf43b2af8be'
+'f291968f0e17168330a422b43c92f1c2ec33f9c058f3310839ceeecff5e25f62')
 
+get_pyver () {
+python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
+}
+
+prepare() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+patch -Np1 -i "${srcdir}"/fix_signness.patch
+}
+
 build() {
 cd "${srcdir}/${pkgbase}-${pkgver}"
 
@@ -28,48 +39,12 @@
 cmake -DCMAKE_BUILD_TYPE:STRING=Release \
   -DCMAKE_INSTALL_LIBDIR:PATH=lib \
   -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-  -DBUILD_TESTS=1 \
-  -DCPPUNIT_FOUND=1 \
-  -DCPPUNIT_INCLUDE_DIRS=/usr/include \
-  -DCPPUNIT_LIBRARIES=/usr/lib/libcppunit.so \
-  -DXRD_PYTHON_REQ_VERSION=$( python -c 'import sys; 
print(str(sys.version_info[0]) + "." + str(sys.version_info[1]))' ) \
+  -DENABLE_TESTS=1 \
+  -DXRD_PYTHON_REQ_VERSION=$(get_pyver) \
   "${srcdir}/${pkgbase}-${pkgver}"
 
-cd "${srcdir}"
-mv "${srcdir}/build" "${srcdir}/build-py3"
-mkdir -p "${srcdir}/build"
-cd "${srcdir}/build"
-
-CFLAGS="${CFLAGS}" \
-CXXFLAGS="${CXXFLAGS}" \
-LDFLAGS="${LDFLAGS}" \
-cmake -DCMAKE_BUILD_TYPE:STRING=Release \
-  -DCMAKE_INSTALL_LIBDIR:PATH=lib \
-  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-  -DBUILD_TESTS=1 \
-  -DCPPUNIT_FOUND=1 \
-  -DCPPUNIT_INCLUDE_DIRS=/usr/include \
-  -DCPPUNIT_LIBRARIES=/usr/lib/libcppunit.so \
-  -DXRD_PYTHON_REQ_VERSION=$( python2 -c 'import sys; 
print(str(sys.version_info[0]) + "." + str(sys.version_info[1]))' ) \
-  "${srcdir}/${pkgbase}-${pkgver}"
-mv "${srcdir}/build/bindings/python"  
"${srcdir}/build-py3/bindings/python2"
-
 # build
-cd "${srcdir}"
-rm -rf "${srcdir}/build"
-mv "${srcdir}/build-py3" "${srcdir}/build"
-cd "${srcdir}/build"
-
-# Python2 bindings first
-mv "${srcdir}/build/bindings/python" "${srcdir}/build/bindings/python3"
-mv "${srcdir}/build/bindings/python2" "${srcdir}/build/bindings/python"
 make
-
-# Python bindings second
-mv "${srcdir}/build/bindings/python" "${srcdir}/build/bindings/python2"
-mv "${srcdir}/build/bindings/python3" "${srcdir}/build/bindings/python"
-make -f "bindings/python/Makefile"
-mv "${srcdir}/build/bindings/python" "${srcdir}/build/bindings/python3"
 }
 
 check() {
@@ -94,78 +69,7 @@
 # ./common/text-runner ./XrdClTests/libXrdClTests.so "All Tests"
 }
 
-package_xrootd() {
-pkgdesc="Software framework for fast, low latency, scalable and fault 
tolerant data access."
+package() {
 cd "${srcdir}/build"
-
-# Python first
-mv "${srcdir}/build/bindings/python3" "${srcdir}/build/bindings/python"
 make DESTDIR="${pkgdir}" install
-mv "${srcdir}/build/bindings/python" "${srcdir}/build/bindings/python3"
-
-rm -rf "${pkgdir}/usr/lib"/python*
 }
-
-package_python-xrootd() {
-pkgdesc="Python Client API for XRootD"
-depends=('xrootd')
-cd "${srcdir}/build"
-
-# Python3
-mv "${srcdir}/build/bindings/python3" "${srcdir}/build/bindings/python"
-make -f "bindings/python/Makefile" DESTDIR="${pkgdir}" install
-rm -rf "${pkgdir}/usr/bin"
-rm -rf "${pkgdir}/usr/include"
-rm -rf "${pkgdir}/usr/share"
-rm -rf "${pkgdir}/usr/lib/"lib*.so*
-rm -rf "${pkgdir}/usr/lib/"python*/site-packages/pyxrootd*
-mv "${srcdir}/build/bindings/python" 

[arch-commits] Commit in xrootd/trunk (PKGBUILD)

2019-02-12 Thread Konstantin Gizdov via arch-commits
Date: Tuesday, February 12, 2019 @ 15:59:15
  Author: kgizdov
Revision: 431972

version bump

Modified:
  xrootd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-12 15:54:42 UTC (rev 431971)
+++ PKGBUILD2019-02-12 15:59:15 UTC (rev 431972)
@@ -5,7 +5,7 @@
 pkgname=('xrootd' 'python-xrootd' 'python-pyxrootd' 'python2-xrootd' 
'python2-pyxrootd')
 pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
 pkgver=4.8.5
-pkgrel=5
+pkgrel=6
 arch=('x86_64')
 url="http://xrootd.org;
 license=('LGPL3')