Date: Sunday, May 7, 2023 @ 18:44:17
Author: arojas
Revision: 1459410
archrelease: copy trunk to community-x86_64
Added:
python-yara/repos/community-x86_64/PKGBUILD
(from rev 1459409, python-yara/trunk/PKGBUILD)
Deleted:
python-yara/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-07 18:44:07 UTC (rev 1459409)
+++ PKGBUILD 2023-05-07 18:44:17 UTC (rev 1459410)
@@ -1,51 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: arch3y <arch3y[at]archstrike[dot]org>
-
-_gitname=yara-python
-pkgname=python-yara
-pkgver=4.3.0
-_gitcommit=39ca6d3829ceb2bab6c340759a951300bc077138
-pkgrel=2
-pkgdesc='Tool aimed at helping malware researchers to identify and classify
malware samples'
-url='https://github.com/VirusTotal/yara-python'
-arch=('x86_64')
-license=('Apache')
-depends=('python' 'yara' 'libyara.so' 'glibc')
-makedepends=('git' 'python-build' 'python-installer' 'python-wheel'
'python-setuptools')
-checkdepends=('python-pytest')
-source=(${pkgname}::git+"https://github.com/VirusTotal/${_gitname}#commit=${_gitcommit}")
-sha512sums=('SKIP')
-
-pkgver() {
- cd ${pkgname}
- git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-prepare() {
- cd ${pkgname}
- mkdir -p tests
- mv tests.py tests
-}
-
-build() {
- cd ${pkgname}
- python -m build --wheel --no-isolation \
- -C--global-option=build_ext \
- -C--global-option=--dynamic-linking
-}
-
-check() {
- cd ${pkgname}/tests
- local PYTHONVERSION="$(python -c 'import sys;
print("{}{}".format(sys.version_info.major, sys.version_info.minor))')"
- PYTHONPATH="$PWD/../build/lib.linux-${CARCH}-cpython-${PYTHONVERSION}" \
- pytest tests.py
-}
-
-package() {
- cd ${pkgname}
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
- ln -s /usr/share/doc/yara/docs "${pkgdir}/usr/share/doc/${pkgname}/docs"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-yara/repos/community-x86_64/PKGBUILD (from rev 1459409,
python-yara/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-07 18:44:17 UTC (rev 1459410)
@@ -0,0 +1,51 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: arch3y <arch3y[at]archstrike[dot]org>
+
+_gitname=yara-python
+pkgname=python-yara
+pkgver=4.3.1
+_gitcommit=37dcb76cd5a07c62e6ed2646968c496e22e70729
+pkgrel=1
+pkgdesc='Tool aimed at helping malware researchers to identify and classify
malware samples'
+url='https://github.com/VirusTotal/yara-python'
+arch=('x86_64')
+license=('Apache')
+depends=('python' 'yara' 'libyara.so' 'glibc')
+makedepends=('git' 'python-build' 'python-installer' 'python-wheel'
'python-setuptools')
+checkdepends=('python-pytest')
+source=(${pkgname}::git+"https://github.com/VirusTotal/${_gitname}#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname}
+ git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd ${pkgname}
+ mkdir -p tests
+ mv tests.py tests
+}
+
+build() {
+ cd ${pkgname}
+ python -m build --wheel --no-isolation \
+ -C--global-option=build_ext \
+ -C--global-option=--dynamic-linking
+}
+
+check() {
+ cd ${pkgname}/tests
+ local PYTHONVERSION="$(python -c 'import sys;
print("{}{}".format(sys.version_info.major, sys.version_info.minor))')"
+ PYTHONPATH="$PWD/../build/lib.linux-${CARCH}-cpython-${PYTHONVERSION}" \
+ pytest tests.py
+}
+
+package() {
+ cd ${pkgname}
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+ ln -s /usr/share/doc/yara/docs "${pkgdir}/usr/share/doc/${pkgname}/docs"
+}
+
+# vim: ts=2 sw=2 et: