New package: python3-yara-3.10.0
This commit is contained in:
parent
09e3844e19
commit
380aee715b
9
srcpkgs/python3-yara/patches/use-system-yara.patch
Normal file
9
srcpkgs/python3-yara/patches/use-system-yara.patch
Normal file
@ -0,0 +1,9 @@
|
||||
--- setup.py.orig 2019-05-02 17:34:46.000000000 +0800
|
||||
+++ setup.py 2019-05-07 08:20:20.841022106 +0800
|
||||
@@ -325,5 +325,5 @@
|
||||
'update': UpdateCommand},
|
||||
ext_modules=[Extension(
|
||||
name='yara',
|
||||
- include_dirs=['yara/libyara/include', 'yara/libyara/', '.'],
|
||||
+ libraries = ['yara'],
|
||||
sources=['yara-python.c'])])
|
15
srcpkgs/python3-yara/template
Normal file
15
srcpkgs/python3-yara/template
Normal file
@ -0,0 +1,15 @@
|
||||
# Template file for 'python3-yara'
|
||||
pkgname=python3-yara
|
||||
version=3.10.0
|
||||
revision=1
|
||||
wrksrc="yara-python-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
makedepends="yara-devel python3-devel"
|
||||
depends="python3"
|
||||
short_desc="Python3 interface for YARA"
|
||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="http://virustotal.github.io/yara/"
|
||||
distfiles="https://github.com/VirusTotal/yara-python/archive/v${version}.tar.gz"
|
||||
checksum=14ae284b3963eaaea280895647cce9860e3c97d747edb5b9269c78710ee21c2b
|
Loading…
x
Reference in New Issue
Block a user