[arch-commits] Commit in xrootd/repos/community-x86_64 (3 files)

Konstantin Gizdov kgizdov at archlinux.org
Tue Apr 9 21:25:16 UTC 2019


    Date: Tuesday, April 9, 2019 @ 21:25:15
  Author: kgizdov
Revision: 450688

archrelease: copy trunk to community-x86_64

Added:
  xrootd/repos/community-x86_64/PKGBUILD
    (from rev 450687, xrootd/trunk/PKGBUILD)
Deleted:
  xrootd/repos/community-x86_64/PKGBUILD
  xrootd/repos/community-x86_64/fix_signness.patch

--------------------+
 PKGBUILD           |  147 ++++++++++++++++++++++++---------------------------
 fix_signness.patch |   44 ---------------
 2 files changed, 70 insertions(+), 121 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-09 21:24:44 UTC (rev 450687)
+++ PKGBUILD	2019-04-09 21:25:15 UTC (rev 450688)
@@ -1,77 +0,0 @@
-# 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 >
-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=2
-arch=('x86_64')
-url="http://xrootd.org"
-license=('LGPL3')
-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')
-
-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}"
-
-    # configure
-    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 \
-          -DENABLE_TESTS=1 \
-          -DXRD_PYTHON_REQ_VERSION=$(get_pyver) \
-          "${srcdir}/${pkgbase}-${pkgver}"
-
-    # build
-    make
-}
-
-check() {
-    cd "${srcdir}/build/tests"
-
-    ./common/text-runner ./XrdCephTests/libXrdCephTests.so "All Tests"
-
-    ##
-    # This requires a running XRootD server with multiIP DNS forwarder and local disk servers
-    # only run this if you have configured the env correctly,
-    # examples in https://github.com/xrootd/xrootd-test-suite
-    # sample environment can be configured like so:
-    # export XRDTEST_MAINSERVERURL=metaman.xrd.test
-    # or export XRDTEST_MAINSERVERURL=http://xrootd.cern.ch/
-    # export XRDTEST_DISKSERVERURL=srv1.xrd.test
-    # or export XRDTEST_DISKSERVERURL=http://xrootd.cern.ch/
-    # export XRDTEST_DATAPATH=/tests/test-files/
-    # export XRDTEST_LOCALFILE=/data/a048e67f-4397-4bb8-85eb-8d7e40d90763.dat
-    # or export XRDTEST_LOCALFILE=/tmp/accwe.root
-    # export XRDTEST_REMOTEFILE=${XRDTEST_MAINSERVERURL}${XRDTEST_DATAPATH}/a048e67f-4397-4bb8-85eb-8d7e40d90763.dat
-    # or export XRDTEST_MULTIIPSERVERURL=multiip.xrd.test
-    # ./common/text-runner ./XrdClTests/libXrdClTests.so "All Tests"
-}
-
-package() {
-    cd "${srcdir}/build"
-    make DESTDIR="${pkgdir}" install
-}

Copied: xrootd/repos/community-x86_64/PKGBUILD (from rev 450687, xrootd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-09 21:25:15 UTC (rev 450688)
@@ -0,0 +1,70 @@
+# 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 >
+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.1
+pkgrel=1
+arch=('x86_64')
+url="http://xrootd.org"
+license=('LGPL3')
+depends=('ceph' 'python' 'cppunit')
+makedepends=('ceph' 'cmake' 'python')
+checkdepends=('cppunit')
+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]))'
+}
+
+build() {
+    cd "${srcdir}/${pkgbase}-${pkgver}"
+
+    # configure
+    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 \
+          -DENABLE_TESTS=1 \
+          -DXRD_PYTHON_REQ_VERSION=$(get_pyver) \
+          "${srcdir}/${pkgbase}-${pkgver}"
+
+    # build
+    make
+}
+
+check() {
+    cd "${srcdir}/build/tests"
+
+    ./common/text-runner ./XrdCephTests/libXrdCephTests.so "All Tests"
+
+    ##
+    # This requires a running XRootD server with multiIP DNS forwarder and local disk servers
+    # only run this if you have configured the env correctly,
+    # examples in https://github.com/xrootd/xrootd-test-suite
+    # sample environment can be configured like so:
+    # export XRDTEST_MAINSERVERURL=metaman.xrd.test
+    # or export XRDTEST_MAINSERVERURL=http://xrootd.cern.ch/
+    # export XRDTEST_DISKSERVERURL=srv1.xrd.test
+    # or export XRDTEST_DISKSERVERURL=http://xrootd.cern.ch/
+    # export XRDTEST_DATAPATH=/tests/test-files/
+    # export XRDTEST_LOCALFILE=/data/a048e67f-4397-4bb8-85eb-8d7e40d90763.dat
+    # or export XRDTEST_LOCALFILE=/tmp/accwe.root
+    # export XRDTEST_REMOTEFILE=${XRDTEST_MAINSERVERURL}${XRDTEST_DATAPATH}/a048e67f-4397-4bb8-85eb-8d7e40d90763.dat
+    # or export XRDTEST_MULTIIPSERVERURL=multiip.xrd.test
+    # ./common/text-runner ./XrdClTests/libXrdClTests.so "All Tests"
+}
+
+package() {
+    cd "${srcdir}/build"
+    make DESTDIR="${pkgdir}" install
+}

Deleted: fix_signness.patch
===================================================================
--- fix_signness.patch	2019-04-09 21:24:44 UTC (rev 450687)
+++ fix_signness.patch	2019-04-09 21:25:15 UTC (rev 450688)
@@ -1,44 +0,0 @@
-From 8e5940a2ebeb74d186a848da3bc21f1fa77c8835 Mon Sep 17 00:00:00 2001
-From: Konstantin Gizdov <kgizdov at gmail.com>
-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;
--    }
--
- 
- 
- }



More information about the arch-commits mailing list