From eee1f51e2a946c4549998f19b2d8f12a695c3f67 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 9 Apr 2024 13:17:49 +0200 Subject: [PATCH 1/2] python3-drgn: update to 0.0.26. --- srcpkgs/KataGo-OpenCL/template | 34 +++++++++++++++++++++++++++++++++ srcpkgs/KataGo-eigen/template | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 srcpkgs/KataGo-OpenCL/template create mode 100644 srcpkgs/KataGo-eigen/template diff --git a/srcpkgs/KataGo-OpenCL/template b/srcpkgs/KataGo-OpenCL/template new file mode 100644 index 00000000000000..3309ded741a185 --- /dev/null +++ b/srcpkgs/KataGo-OpenCL/template @@ -0,0 +1,34 @@ +# Template file for 'KataGo-OpenCL' +pkgname=KataGo-OpenCL +version=1.14.1 +revision=1 +build_wrksrc=cpp +build_style=cmake +configure_args="-DUSE_BACKEND=OPENCL -DNO_GIT_REVISION=1" +makedepends="ocl-icd-devel zlib-devel libzip-devel" +short_desc="KataGo Go/Weiqi/Baduk analysis engine (OpenCL backend)" +maintainer="Jason Elswick " +license="MIT" +homepage="https://github.com/lightvector/KataGo/" +distfiles="https://github.com/lightvector/KataGo/archive/refs/tags/v${version}.tar.gz" +checksum=1a80d7fbd2b3a2684049afe61407d2276f6faf1dd1ca3f886cdb07c170c08e65 + +alternatives="katago:katago:/usr/bin/katago-opencl" + +case "$XBPS_TARGET_MACHINE" in + i686*) broken="size_t assert fails" ;; +esac + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic" + makedepends+=" libatomic-devel" +fi + +do_check() { + build/katago runtests +} + +do_install() { + vbin build/katago katago-opencl + vlicense "${wrksrc}"/LICENSE +} diff --git a/srcpkgs/KataGo-eigen/template b/srcpkgs/KataGo-eigen/template new file mode 100644 index 00000000000000..c4298c9c49b2cd --- /dev/null +++ b/srcpkgs/KataGo-eigen/template @@ -0,0 +1,35 @@ +# Template file for 'KataGo-eigen' +pkgname=KataGo-eigen +version=1.14.1 +revision=1 +build_wrksrc=cpp +build_style=cmake +configure_args="-DUSE_BACKEND=EIGEN -DNO_GIT_REVISION=1" +make_check_target="check" +makedepends="zlib-devel libzip-devel eigen" +short_desc="KataGo Go/Weiqi/Baduk analysis engine (eigen backend)" +maintainer="Jason Elswick " +license="MIT" +homepage="https://github.com/lightvector/KataGo/" +distfiles="https://github.com/lightvector/KataGo/archive/refs/tags/v${version}.tar.gz" +checksum=1a80d7fbd2b3a2684049afe61407d2276f6faf1dd1ca3f886cdb07c170c08e65 + +alternatives="katago:katago:/usr/bin/katago-eigen" + +case "$XBPS_TARGET_MACHINE" in + i686*) broken="size_t assert fails" ;; +esac + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic" + makedepends+=" libatomic-devel" +fi + +do_check() { + build/katago runtests +} + +do_install() { + vbin build/katago katago-eigen + vlicense "${wrksrc}"/LICENSE +} From 101992d72fc30c82f335ea3bc1794c00f74757f7 Mon Sep 17 00:00:00 2001 From: Jason Elswick Date: Sun, 14 Apr 2024 14:06:57 -0500 Subject: [PATCH 2/2] python3-dnsrecon: update to 1.2.0. --- srcpkgs/python3-dnsrecon/patches/requirements.txt.diff | 9 --------- srcpkgs/python3-dnsrecon/template | 9 +++++---- 2 files changed, 5 insertions(+), 13 deletions(-) delete mode 100644 srcpkgs/python3-dnsrecon/patches/requirements.txt.diff diff --git a/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff b/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff deleted file mode 100644 index cb7722c20c91e9..00000000000000 --- a/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff +++ /dev/null @@ -1,9 +0,0 @@ ---- a/requirements.txt 2023-11-19 15:38:53.078304888 -0600 -+++ b/requirements.txt 2023-11-19 16:00:30.710566194 -0600 -@@ -1,6 +1,3 @@ - dnspython>=2.0.0 - netaddr - lxml --flake8 --pytest -- diff --git a/srcpkgs/python3-dnsrecon/template b/srcpkgs/python3-dnsrecon/template index 61e88c751f99f5..35ce7e24450554 100644 --- a/srcpkgs/python3-dnsrecon/template +++ b/srcpkgs/python3-dnsrecon/template @@ -1,10 +1,10 @@ # Template file for 'python3-dnsrecon' pkgname=python3-dnsrecon -version=1.1.5 +version=1.2.0 revision=1 -build_style=python3-module +build_style=python3-pep517 make_check_args="-k not(test_zone_transfer)" -hostmakedepends="python3-setuptools" +hostmakedepends="python3-setuptools python3-wheel" depends="python3 python3-netaddr python3-dnspython python3-lxml" checkdepends="${depends} python3-flake8 python3-pyflakes python3-pytest" short_desc="DNS enumeration script" @@ -12,4 +12,5 @@ maintainer="Jason Elswick " license="GPL-2.0-only" homepage="https://github.com/darkoperator/dnsrecon" distfiles="https://github.com/darkoperator/dnsrecon/archive/refs/tags/${version}.tar.gz" -checksum=528881c6f2cf759ce91c895c19345768902c3fd811b05dbdfba864f5980aef9c +checksum=76fe1d5f776116060bec93b296874a8f81606de3a58b5f926d8a2fbada74fe8a +make_check=no # requires pytest version >= 8.0 when 7.4.3 is present