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

Nicola Squartini tensor5 at gemini.archlinux.org
Mon Apr 11 13:16:36 UTC 2022


    Date: Monday, April 11, 2022 @ 13:16:35
  Author: tensor5
Revision: 1185842

archrelease: copy trunk to community-x86_64

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

-----------------------+
 PKGBUILD              |  166 ++++++++++++++++++++++++------------------------
 use-system-rust.patch |   28 ++++----
 zcashd.service        |   18 ++---
 3 files changed, 106 insertions(+), 106 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-11 13:15:52 UTC (rev 1185841)
+++ PKGBUILD	2022-04-11 13:16:35 UTC (rev 1185842)
@@ -1,83 +0,0 @@
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=zcash
-pkgver=4.6.0_1
-_commit=fe7b87a96c57e72877c88bd473343c85a1f52f93
-_db_version=6.2.23
-_db_sha256_hash=47612c8991aa9ac2f6be721267c8d3cdccf5ac83105df8e50809daea24e95dc7
-pkgrel=2
-pkgdesc='Permissionless financial system employing zero-knowledge security'
-arch=('x86_64')
-url='https://z.cash/'
-license=('MIT')
-depends=('boost-libs' 'libevent' 'zeromq')
-makedepends=('boost' 'cmake' 'git' 'gmock' 'python' 'rust' 'utf8cpp' 'wget')
-checkdepends=('python-pyblake2' 'python-pyzmq' 'python-requests'
-              'python-simplejson')
-source=("git+https://github.com/zcash/zcash.git#commit=${_commit}"
-        "https://download.oracle.com/berkeley-db/db-${_db_version}.tar.gz"
-        'use-system-rust.patch'
-        'zcashd.service')
-sha256sums=('SKIP'
-            "${_db_sha256_hash}"
-            '119e787cb22f2941ead286d2621fae7d6c4de6216e24615eb3c0f875e7a2547f'
-            '7b0919ac447824199aff8c17b5a5799b46414818c6aed314506c5295d0ce9ccd')
-
-prepare() {
-    cd ${pkgname}
-
-    # Set gitattributes on src/clientversion.cpp
-    git archive --format=tar ${_commit} -- src/clientversion.cpp | tar -xf -
-
-    patch -Np1 -i ../use-system-rust.patch
-}
-
-build() {
-    cd "db-${_db_version}/build_unix"
-
-    ../dist/configure \
-        --prefix=/ \
-        --disable-shared \
-        --enable-cxx \
-        --disable-replication \
-        --enable-option-checking \
-        --with-pic
-    make libdb_cxx-6.2.a libdb-6.2.a
-    make DESTDIR="${srcdir}/db-root" install
-
-    cd "${srcdir}/${pkgname}"
-
-    CPPFLAGS="${CPPFLAGS} -I${srcdir}/db-root/include -I/usr/include/utf8cpp"
-    LDFLAGS="${LDFLAGS} -L${srcdir}/db-root/lib"
-    rust_target=$(RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj["llvm-target"])')
-
-    ./autogen.sh
-    ./configure --prefix=/usr \
-        --enable-online-rust
-    make RUST_TARGET="${rust_target}"
-}
-
-check() {
-    cd ${pkgname}
-
-    ./zcutil/fetch-params.sh
-
-    rust_target=$(RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj["llvm-target"])')
-    export RUST_TARGET="${rust_target}"
-    ./qa/zcash/full_test_suite.py || true
-}
-
-package() {
-    cd ${pkgname}
-
-    rust_target=$(RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj["llvm-target"])')
-    make DESTDIR="${pkgdir}" RUST_TARGET="${rust_target}" 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 1185841, zcash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-11 13:16:35 UTC (rev 1185842)
@@ -0,0 +1,83 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=zcash
+pkgver=4.6.0_2
+_commit=ac0c24cfa0768101d6843eb939379fc50348e589
+_db_version=6.2.23
+_db_sha256_hash=47612c8991aa9ac2f6be721267c8d3cdccf5ac83105df8e50809daea24e95dc7
+pkgrel=1
+pkgdesc='Permissionless financial system employing zero-knowledge security'
+arch=('x86_64')
+url='https://z.cash/'
+license=('MIT')
+depends=('boost-libs' 'libevent' 'zeromq')
+makedepends=('boost' 'cmake' 'git' 'gmock' 'python' 'rust' 'utf8cpp' 'wget')
+checkdepends=('python-pyblake2' 'python-pyzmq' 'python-requests'
+              'python-simplejson')
+source=("git+https://github.com/zcash/zcash.git#commit=${_commit}"
+        "https://download.oracle.com/berkeley-db/db-${_db_version}.tar.gz"
+        'use-system-rust.patch'
+        'zcashd.service')
+sha256sums=('SKIP'
+            "${_db_sha256_hash}"
+            '119e787cb22f2941ead286d2621fae7d6c4de6216e24615eb3c0f875e7a2547f'
+            '7b0919ac447824199aff8c17b5a5799b46414818c6aed314506c5295d0ce9ccd')
+
+prepare() {
+    cd ${pkgname}
+
+    # Set gitattributes on src/clientversion.cpp
+    git archive --format=tar ${_commit} -- src/clientversion.cpp | tar -xf -
+
+    patch -Np1 -i ../use-system-rust.patch
+}
+
+build() {
+    cd "db-${_db_version}/build_unix"
+
+    ../dist/configure \
+        --prefix=/ \
+        --disable-shared \
+        --enable-cxx \
+        --disable-replication \
+        --enable-option-checking \
+        --with-pic
+    make libdb_cxx-6.2.a libdb-6.2.a
+    make DESTDIR="${srcdir}/db-root" install
+
+    cd "${srcdir}/${pkgname}"
+
+    CPPFLAGS="${CPPFLAGS} -I${srcdir}/db-root/include -I/usr/include/utf8cpp"
+    LDFLAGS="${LDFLAGS} -L${srcdir}/db-root/lib"
+    rust_target=$(RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj["llvm-target"])')
+
+    ./autogen.sh
+    ./configure --prefix=/usr \
+        --enable-online-rust
+    make RUST_TARGET="${rust_target}"
+}
+
+check() {
+    cd ${pkgname}
+
+    ./zcutil/fetch-params.sh
+
+    rust_target=$(RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj["llvm-target"])')
+    export RUST_TARGET="${rust_target}"
+    ./qa/zcash/full_test_suite.py || true
+}
+
+package() {
+    cd ${pkgname}
+
+    rust_target=$(RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj["llvm-target"])')
+    make DESTDIR="${pkgdir}" RUST_TARGET="${rust_target}" 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-rust.patch
===================================================================
--- use-system-rust.patch	2022-04-11 13:15:52 UTC (rev 1185841)
+++ use-system-rust.patch	2022-04-11 13:16:35 UTC (rev 1185842)
@@ -1,14 +0,0 @@
---- a/qa/zcash/full_test_suite.py
-+++ b/qa/zcash/full_test_suite.py
-@@ -149,9 +149,9 @@
-         return False
- 
-     rust_env = os.environ.copy()
--    rust_env['RUSTC'] = os.path.join(arch_dir, 'native', 'bin', 'rustc')
-+    rust_env['RUSTC'] = 'rustc'
-     return subprocess.call([
--        os.path.join(arch_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 1185841, zcash/trunk/use-system-rust.patch)
===================================================================
--- use-system-rust.patch	                        (rev 0)
+++ use-system-rust.patch	2022-04-11 13:16:35 UTC (rev 1185842)
@@ -0,0 +1,14 @@
+--- a/qa/zcash/full_test_suite.py
++++ b/qa/zcash/full_test_suite.py
+@@ -149,9 +149,9 @@
+         return False
+ 
+     rust_env = os.environ.copy()
+-    rust_env['RUSTC'] = os.path.join(arch_dir, 'native', 'bin', 'rustc')
++    rust_env['RUSTC'] = 'rustc'
+     return subprocess.call([
+-        os.path.join(arch_dir, 'native', 'bin', 'cargo'),
++        'cargo',
+         'test',
+         '--manifest-path',
+         os.path.join(REPOROOT, 'Cargo.toml'),

Deleted: zcashd.service
===================================================================
--- zcashd.service	2022-04-11 13:15:52 UTC (rev 1185841)
+++ zcashd.service	2022-04-11 13:16:35 UTC (rev 1185842)
@@ -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 1185841, zcash/trunk/zcashd.service)
===================================================================
--- zcashd.service	                        (rev 0)
+++ zcashd.service	2022-04-11 13:16:35 UTC (rev 1185842)
@@ -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