Date: Friday, May 6, 2022 @ 23:20:23 Author: anthraxx Revision: 1196093
archrelease: copy trunk to community-x86_64 Added: python-yara/repos/community-x86_64/PKGBUILD (from rev 1196092, python-yara/trunk/PKGBUILD) Deleted: python-yara/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-06 23:20:18 UTC (rev 1196092) +++ PKGBUILD 2022-05-06 23:20:23 UTC (rev 1196093) @@ -1,42 +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.1.0 -_gitcommit=dc838e211e45442d219012099aaa63efa812c4be -pkgrel=3 -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-setuptools') -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' -} - -build() { - cd ${pkgname} - python setup.py build --dynamic-linking -} - -check() { - cd ${pkgname} - local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')" - PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \ - python tests.py -} - -package() { - cd ${pkgname} - python setup.py install --root="${pkgdir}" -O1 --skip-build - 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 1196092, python-yara/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-06 23:20:23 UTC (rev 1196093) @@ -0,0 +1,42 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: arch3y <arch3y[at]archstrike[dot]org> + +_gitname=yara-python +pkgname=python-yara +pkgver=4.2.0 +_gitcommit=0a8659d68ba486286b6d5b7c7f48d171beb78e03 +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-setuptools') +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' +} + +build() { + cd ${pkgname} + python setup.py build --dynamic-linking +} + +check() { + cd ${pkgname} + local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')" + PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \ + python tests.py +} + +package() { + cd ${pkgname} + python setup.py install --root="${pkgdir}" -O1 --skip-build + 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: