[arch-commits] Commit in zcash/repos/community-x86_64 (8 files)

Nicola Squartini tensor5 at archlinux.org
Sat May 9 06:50:35 UTC 2020


    Date: Saturday, May 9, 2020 @ 06:50:34
  Author: tensor5
Revision: 625879

archrelease: copy trunk to community-x86_64

Added:
  zcash/repos/community-x86_64/PKGBUILD
    (from rev 625878, zcash/trunk/PKGBUILD)
  zcash/repos/community-x86_64/use-system-qpid-proton.patch
    (from rev 625878, zcash/trunk/use-system-qpid-proton.patch)
  zcash/repos/community-x86_64/use-system-rust.patch
    (from rev 625878, zcash/trunk/use-system-rust.patch)
  zcash/repos/community-x86_64/zcashd.service
    (from rev 625878, zcash/trunk/zcashd.service)
Deleted:
  zcash/repos/community-x86_64/PKGBUILD
  zcash/repos/community-x86_64/use-system-qpid-proton.patch
  zcash/repos/community-x86_64/use-system-rust.patch
  zcash/repos/community-x86_64/zcashd.service

------------------------------+
 PKGBUILD                     |  146 ++++++++++++++++++++---------------------
 use-system-qpid-proton.patch |   52 +++++++-------
 use-system-rust.patch        |   28 +++----
 zcashd.service               |   18 ++---
 4 files changed, 122 insertions(+), 122 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-09 06:49:52 UTC (rev 625878)
+++ PKGBUILD	2020-05-09 06:50:34 UTC (rev 625879)
@@ -1,73 +0,0 @@
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=zcash
-pkgver=2.1.2_1
-_commit=f7d2142eb0744d51be448130d0cee0c5bd1cb6f3
-pkgrel=1
-pkgdesc='Permissionless financial system employing zero-knowledge security'
-arch=('x86_64')
-url='https://z.cash/'
-license=('MIT')
-depends=('boost-libs' 'libevent' 'qpid-proton' 'zeromq')
-makedepends=('boost' 'cmake' 'git' 'gmock' 'python' 'rust' 'wget')
-checkdepends=('python-pyblake2' 'python-pyzmq' 'python-requests' 'python-simplejson')
-source=("git+https://github.com/zcash/zcash.git#commit=${_commit}"
-        'use-system-qpid-proton.patch'
-        'use-system-rust.patch'
-        'zcashd.service')
-sha512sums=('SKIP'
-            '0d9c089e1b9eddc127936dbc12984804f3ad65c35845a336368cc9fce22ae784fb486a9a74b5cf34f42739779b42c18084f0558c9c1c74f18c6d8999596c7af6'
-            '1267fc174df81a80a1b0f2e1a6bbaaa6fa95402c83bc6a8678b582ed6c7f7a02eeed0f61c9600496aa782f9fb9fec6dc9ac419d366d059306a5c4f97a5a166f0'
-            '2fb8b0a636ca9c7ee15f0fd2c47046c8323ade3de9562f393da7541eee50dd14b12107dd29b0e1ee90ff88963e2f7e25b12435166a1812df5c88c579c12dde88')
-
-prepare() {
-    cd ${pkgname}
-
-    # Set gitattributes on src/clientversion.cpp
-    git archive --format=tar ${_commit} -- src/clientversion.cpp | tar -xf -
-
-    patch -Np1 -i ../use-system-qpid-proton.patch
-    patch -Np1 -i ../use-system-rust.patch
-}
-
-build() {
-    cd ${pkgname}
-
-    cd depends
-    make install \
-        native_packages='' \
-        packages="bdb utfcpp"
-    cd ..
-
-    BUILD="$(./depends/config.guess)"
-    CPPFLAGS="${CPPFLAGS} -I${PWD}/depends/${BUILD}/include"
-    LDFLAGS="${LDFLAGS} -L${PWD}/depends/${BUILD}/lib"
-
-    ./autogen.sh
-    depends_prefix="${PWD}/depends/${BUILD}" ./configure --prefix=/usr \
-        --enable-online-rust \
-        --enable-proton
-    make RUST_TARGET="${BUILD}"
-}
-
-check() {
-    cd ${pkgname}
-
-    ./zcutil/fetch-params.sh --testnet
-    export RUST_TARGET="$(./depends/config.guess)"
-    ./qa/zcash/full_test_suite.py || true
-}
-
-package() {
-    cd ${pkgname}
-
-    make DESTDIR="${pkgdir}" RUST_TARGET="$(./depends/config.guess)" install
-
-    for ext in '-cli' '-tx' 'd'; do
-        install -Dm644 contrib/zcash${ext}.bash-completion \
-            "${pkgdir}"/usr/share/bash-completion/completions/zcash${ext}
-    done
-
-    install -Dm644 -t "${pkgdir}"/usr/lib/systemd/user ../zcashd.service
-    install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
-}

Copied: zcash/repos/community-x86_64/PKGBUILD (from rev 625878, zcash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-09 06:50:34 UTC (rev 625879)
@@ -0,0 +1,73 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=zcash
+pkgver=2.1.2_3
+_commit=23713c87cef46a2db2afd3e3d6c73e0868c26379
+pkgrel=1
+pkgdesc='Permissionless financial system employing zero-knowledge security'
+arch=('x86_64')
+url='https://z.cash/'
+license=('MIT')
+depends=('boost-libs' 'libevent' 'qpid-proton' 'zeromq')
+makedepends=('boost' 'cmake' 'git' 'gmock' 'python' 'rust' 'wget')
+checkdepends=('python-pyblake2' 'python-pyzmq' 'python-requests' 'python-simplejson')
+source=("git+https://github.com/zcash/zcash.git#commit=${_commit}"
+        'use-system-qpid-proton.patch'
+        'use-system-rust.patch'
+        'zcashd.service')
+sha512sums=('SKIP'
+            '0d9c089e1b9eddc127936dbc12984804f3ad65c35845a336368cc9fce22ae784fb486a9a74b5cf34f42739779b42c18084f0558c9c1c74f18c6d8999596c7af6'
+            '1267fc174df81a80a1b0f2e1a6bbaaa6fa95402c83bc6a8678b582ed6c7f7a02eeed0f61c9600496aa782f9fb9fec6dc9ac419d366d059306a5c4f97a5a166f0'
+            '2fb8b0a636ca9c7ee15f0fd2c47046c8323ade3de9562f393da7541eee50dd14b12107dd29b0e1ee90ff88963e2f7e25b12435166a1812df5c88c579c12dde88')
+
+prepare() {
+    cd ${pkgname}
+
+    # Set gitattributes on src/clientversion.cpp
+    git archive --format=tar ${_commit} -- src/clientversion.cpp | tar -xf -
+
+    patch -Np1 -i ../use-system-qpid-proton.patch
+    patch -Np1 -i ../use-system-rust.patch
+}
+
+build() {
+    cd ${pkgname}
+
+    cd depends
+    make install \
+        native_packages='' \
+        packages="bdb utfcpp"
+    cd ..
+
+    BUILD="$(./depends/config.guess)"
+    CPPFLAGS="${CPPFLAGS} -I${PWD}/depends/${BUILD}/include"
+    LDFLAGS="${LDFLAGS} -L${PWD}/depends/${BUILD}/lib"
+
+    ./autogen.sh
+    depends_prefix="${PWD}/depends/${BUILD}" ./configure --prefix=/usr \
+        --enable-online-rust \
+        --enable-proton
+    make RUST_TARGET="${BUILD}"
+}
+
+check() {
+    cd ${pkgname}
+
+    ./zcutil/fetch-params.sh --testnet
+    export RUST_TARGET="$(./depends/config.guess)"
+    ./qa/zcash/full_test_suite.py || true
+}
+
+package() {
+    cd ${pkgname}
+
+    make DESTDIR="${pkgdir}" RUST_TARGET="$(./depends/config.guess)" install
+
+    for ext in '-cli' '-tx' 'd'; do
+        install -Dm644 contrib/zcash${ext}.bash-completion \
+            "${pkgdir}"/usr/share/bash-completion/completions/zcash${ext}
+    done
+
+    install -Dm644 -t "${pkgdir}"/usr/lib/systemd/user ../zcashd.service
+    install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
+}

Deleted: use-system-qpid-proton.patch
===================================================================
--- use-system-qpid-proton.patch	2020-05-09 06:49:52 UTC (rev 625878)
+++ use-system-qpid-proton.patch	2020-05-09 06:50:34 UTC (rev 625879)
@@ -1,26 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -672,17 +672,13 @@
-     [],
-     [AC_MSG_WARN([Proton headers not found, disabling Proton support])
-     use_proton=no])
-- AC_CHECK_LIB([qpid-proton-cpp-static], [main],
--    [PROTON_LIBS="-lqpid-proton-cpp-static"],
--    [AC_MSG_WARN([Proton qpid-proton-cpp-static library not found, disabling Proton support])
-+ AC_CHECK_LIB([qpid-proton-cpp], [main],
-+    [PROTON_LIBS="-lqpid-proton-cpp"],
-+    [AC_MSG_WARN([Proton qpid-proton-cpp library not found, disabling Proton support])
-     use_proton=no])
-- AC_CHECK_LIB([qpid-proton-core-static], [main],
--    [PROTON_LIBS+=" -lqpid-proton-core-static"],
--    [AC_MSG_WARN([Proton qpid-proton-core-static library not found, disabling Proton support])
--    use_proton=no])
-- AC_CHECK_LIB([qpid-proton-static], [main],
--    [PROTON_LIBS+=" -lqpid-proton-static"],
--    [AC_MSG_WARN([Proton qpid-proton-static library not found, disabling Proton support])
-+ AC_CHECK_LIB([qpid-proton-core], [main],
-+    [PROTON_LIBS+=" -lqpid-proton-core"],
-+    [AC_MSG_WARN([Proton qpid-proton-core library not found, disabling Proton support])
-     use_proton=no])
- fi
- if test x$use_proton = xyes; then

Copied: zcash/repos/community-x86_64/use-system-qpid-proton.patch (from rev 625878, zcash/trunk/use-system-qpid-proton.patch)
===================================================================
--- use-system-qpid-proton.patch	                        (rev 0)
+++ use-system-qpid-proton.patch	2020-05-09 06:50:34 UTC (rev 625879)
@@ -0,0 +1,26 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -672,17 +672,13 @@
+     [],
+     [AC_MSG_WARN([Proton headers not found, disabling Proton support])
+     use_proton=no])
+- AC_CHECK_LIB([qpid-proton-cpp-static], [main],
+-    [PROTON_LIBS="-lqpid-proton-cpp-static"],
+-    [AC_MSG_WARN([Proton qpid-proton-cpp-static library not found, disabling Proton support])
++ AC_CHECK_LIB([qpid-proton-cpp], [main],
++    [PROTON_LIBS="-lqpid-proton-cpp"],
++    [AC_MSG_WARN([Proton qpid-proton-cpp library not found, disabling Proton support])
+     use_proton=no])
+- AC_CHECK_LIB([qpid-proton-core-static], [main],
+-    [PROTON_LIBS+=" -lqpid-proton-core-static"],
+-    [AC_MSG_WARN([Proton qpid-proton-core-static library not found, disabling Proton support])
+-    use_proton=no])
+- AC_CHECK_LIB([qpid-proton-static], [main],
+-    [PROTON_LIBS+=" -lqpid-proton-static"],
+-    [AC_MSG_WARN([Proton qpid-proton-static library not found, disabling Proton support])
++ AC_CHECK_LIB([qpid-proton-core], [main],
++    [PROTON_LIBS+=" -lqpid-proton-core"],
++    [AC_MSG_WARN([Proton qpid-proton-core library not found, disabling Proton support])
+     use_proton=no])
+ fi
+ if test x$use_proton = xyes; then

Deleted: use-system-rust.patch
===================================================================
--- use-system-rust.patch	2020-05-09 06:49:52 UTC (rev 625878)
+++ use-system-rust.patch	2020-05-09 06:50:34 UTC (rev 625879)
@@ -1,14 +0,0 @@
---- a/qa/zcash/full_test_suite.py
-+++ b/qa/zcash/full_test_suite.py
-@@ -133,9 +133,9 @@
- 
-     if os.path.isdir(depends_dir):
-         rust_env = os.environ.copy()
--        rust_env['RUSTC'] = os.path.join(depends_dir, 'native', 'bin', 'rustc')
-+        rust_env['RUSTC'] = 'rustc'
-         return subprocess.call([
--            os.path.join(depends_dir, 'native', 'bin', 'cargo'),
-+            'cargo',
-             'test',
-             '--manifest-path',
-             os.path.join(REPOROOT, 'Cargo.toml'),

Copied: zcash/repos/community-x86_64/use-system-rust.patch (from rev 625878, zcash/trunk/use-system-rust.patch)
===================================================================
--- use-system-rust.patch	                        (rev 0)
+++ use-system-rust.patch	2020-05-09 06:50:34 UTC (rev 625879)
@@ -0,0 +1,14 @@
+--- a/qa/zcash/full_test_suite.py
++++ b/qa/zcash/full_test_suite.py
+@@ -133,9 +133,9 @@
+ 
+     if os.path.isdir(depends_dir):
+         rust_env = os.environ.copy()
+-        rust_env['RUSTC'] = os.path.join(depends_dir, 'native', 'bin', 'rustc')
++        rust_env['RUSTC'] = 'rustc'
+         return subprocess.call([
+-            os.path.join(depends_dir, 'native', 'bin', 'cargo'),
++            'cargo',
+             'test',
+             '--manifest-path',
+             os.path.join(REPOROOT, 'Cargo.toml'),

Deleted: zcashd.service
===================================================================
--- zcashd.service	2020-05-09 06:49:52 UTC (rev 625878)
+++ zcashd.service	2020-05-09 06:50:34 UTC (rev 625879)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Zcash daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/zcashd
-
-[Install]
-WantedBy=default.target

Copied: zcash/repos/community-x86_64/zcashd.service (from rev 625878, zcash/trunk/zcashd.service)
===================================================================
--- zcashd.service	                        (rev 0)
+++ zcashd.service	2020-05-09 06:50:34 UTC (rev 625879)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Zcash daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/zcashd
+
+[Install]
+WantedBy=default.target



More information about the arch-commits mailing list