[arch-commits] Commit in python-yara/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun Aug 12 23:14:51 UTC 2018


    Date: Sunday, August 12, 2018 @ 23:14:51
  Author: anthraxx
Revision: 371233

archrelease: copy trunk to community-x86_64

Added:
  python-yara/repos/community-x86_64/PKGBUILD
    (from rev 371232, python-yara/trunk/PKGBUILD)
Deleted:
  python-yara/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  142 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-12 23:14:44 UTC (rev 371232)
+++ PKGBUILD	2018-08-12 23:14:51 UTC (rev 371233)
@@ -1,71 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: arch3y <arch3y[at]archstrike[dot]org>
-
-_gitname=yara-python
-pkgbase=python-yara
-pkgname=('python-yara' 'python2-yara')
-pkgver=3.7.0
-_gitcommit=71138553e7cfe7f96e7822898dd8331f3eacef4e
-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')
-makedepends=('git' 'yara' 'glibc'
-             'python' 'python-setuptools'
-             'python2' 'python2-setuptools')
-source=(${pkgbase}::git+"https://github.com/VirusTotal/${_gitname}#commit=${_gitcommit}")
-sha512sums=('SKIP')
-
-pkgver() {
-  cd ${pkgbase}
-  git describe --always | sed 's/^v//;s/-/./g'
-}
-
-prepare() {
-  cp -a ${pkgbase}{,-py2}
-}
-
-build() {
-  msg2 'Building python...'
-  (cd ${pkgbase}
-    python setup.py build --dynamic-linking
-  )
-  msg2 'Building python2...'
-  (cd ${pkgbase}-py2
-    python2 setup.py build --dynamic-linking
-  )
-}
-
-check() {
-  msg2 'Checking python...'
-  (cd ${pkgbase}
-    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
-  )
-  msg2 'Checking python2...'
-  (cd ${pkgbase}-py2
-    local PYTHONVERSION="$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
-    PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
-      python2 tests.py
-  )
-}
-
-package_python-yara() {
-  depends=('python' 'yara' 'glibc')
-  cd ${pkgbase}
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
-  ln -s /usr/share/doc/yara/docs "${pkgdir}/usr/share/doc/${pkgname}/docs"
-}
-
-package_python2-yara() {
-  depends=('python2' 'yara' 'glibc')
-  cd ${pkgbase}-py2
-  python2 setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
-  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 371232, python-yara/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-12 23:14:51 UTC (rev 371233)
@@ -0,0 +1,71 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: arch3y <arch3y[at]archstrike[dot]org>
+
+_gitname=yara-python
+pkgbase=python-yara
+pkgname=('python-yara' 'python2-yara')
+pkgver=3.8.0
+_gitcommit=ee2bd9ecfd33ab1d14d880f3e127f61597563b0f
+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')
+makedepends=('git' 'yara' 'glibc'
+             'python' 'python-setuptools'
+             'python2' 'python2-setuptools')
+source=(${pkgbase}::git+"https://github.com/VirusTotal/${_gitname}#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd ${pkgbase}
+  git describe --always | sed 's/^v//;s/-/./g'
+}
+
+prepare() {
+  cp -a ${pkgbase}{,-py2}
+}
+
+build() {
+  msg2 'Building python...'
+  (cd ${pkgbase}
+    python setup.py build --dynamic-linking
+  )
+  msg2 'Building python2...'
+  (cd ${pkgbase}-py2
+    python2 setup.py build --dynamic-linking
+  )
+}
+
+check() {
+  msg2 'Checking python...'
+  (cd ${pkgbase}
+    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
+  )
+  msg2 'Checking python2...'
+  (cd ${pkgbase}-py2
+    local PYTHONVERSION="$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
+    PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
+      python2 tests.py
+  )
+}
+
+package_python-yara() {
+  depends=('python' 'yara' 'glibc')
+  cd ${pkgbase}
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
+  ln -s /usr/share/doc/yara/docs "${pkgdir}/usr/share/doc/${pkgname}/docs"
+}
+
+package_python2-yara() {
+  depends=('python2' 'yara' 'glibc')
+  cd ${pkgbase}-py2
+  python2 setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
+  ln -s /usr/share/doc/yara/docs "${pkgdir}/usr/share/doc/${pkgname}/docs"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list