[arch-commits] Commit in python-yara/repos (4 files)

Levente Polyak anthraxx at archlinux.org
Mon Oct 10 16:06:27 UTC 2016


    Date: Monday, October 10, 2016 @ 16:06:27
  Author: anthraxx
Revision: 191879

archrelease: copy trunk to community-i686, community-x86_64

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

---------------------------+
 /PKGBUILD                 |   96 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   32 --------------
 community-x86_64/PKGBUILD |   32 --------------
 3 files changed, 96 insertions(+), 64 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-10-10 16:06:17 UTC (rev 191878)
+++ community-i686/PKGBUILD	2016-10-10 16:06:27 UTC (rev 191879)
@@ -1,32 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gitname=yara-python
-pkgbase=python-yara
-pkgname=('python-yara' 'python2-yara')
-pkgver=3.5.0
-pkgrel=1
-pkgdesc='Tool aimed at helping malware researchers to identify and classify malware samples'
-url='https://github.com/VirusTotal/yara-python'
-arch=('i686' 'x86_64')
-license=('Apache')
-makedepends=('git' 'yara' 'python-setuptools' 'python2-setuptools')
-source=(${pkgbase}::git+https://github.com/VirusTotal/${_gitname})
-sha512sums=('SKIP')
-
-package_python-yara() {
-  depends=('python' 'yara')
-  cd ${pkgbase}
-  python setup.py install --root="${pkgdir}" -O1
-  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')
-  cd ${pkgbase}
-  python2 setup.py install --root="${pkgdir}" -O1
-  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-i686/PKGBUILD (from rev 191878, python-yara/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-10-10 16:06:27 UTC (rev 191879)
@@ -0,0 +1,48 @@
+# 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.5.0
+_gitcommit=9fd9fd290872e36360e5e3839c49e21a908bf128
+pkgrel=2
+pkgdesc='Tool aimed at helping malware researchers to identify and classify malware samples'
+url='https://github.com/VirusTotal/yara-python'
+arch=('i686' 'x86_64')
+license=('Apache')
+makedepends=('git' 'yara' 'python-setuptools' 'python2-setuptools')
+source=(${pkgbase}::git+"https://github.com/VirusTotal/${_gitname}#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a ${pkgbase}{,-py2}
+}
+
+build() {
+  (cd ${pkgbase}
+    python setup.py build --dynamic-linking
+  )
+  (cd ${pkgbase}-py2
+    python2 setup.py build --dynamic-linking
+  )
+}
+
+
+package_python-yara() {
+  depends=('python' 'yara')
+  cd ${pkgbase}
+  python setup.py install --root="${pkgdir}" -O1
+  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')
+  cd ${pkgbase}-py2
+  python2 setup.py install --root="${pkgdir}" -O1
+  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:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-10-10 16:06:17 UTC (rev 191878)
+++ community-x86_64/PKGBUILD	2016-10-10 16:06:27 UTC (rev 191879)
@@ -1,32 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gitname=yara-python
-pkgbase=python-yara
-pkgname=('python-yara' 'python2-yara')
-pkgver=3.5.0
-pkgrel=1
-pkgdesc='Tool aimed at helping malware researchers to identify and classify malware samples'
-url='https://github.com/VirusTotal/yara-python'
-arch=('i686' 'x86_64')
-license=('Apache')
-makedepends=('git' 'yara' 'python-setuptools' 'python2-setuptools')
-source=(${pkgbase}::git+https://github.com/VirusTotal/${_gitname})
-sha512sums=('SKIP')
-
-package_python-yara() {
-  depends=('python' 'yara')
-  cd ${pkgbase}
-  python setup.py install --root="${pkgdir}" -O1
-  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')
-  cd ${pkgbase}
-  python2 setup.py install --root="${pkgdir}" -O1
-  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 191878, python-yara/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-10-10 16:06:27 UTC (rev 191879)
@@ -0,0 +1,48 @@
+# 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.5.0
+_gitcommit=9fd9fd290872e36360e5e3839c49e21a908bf128
+pkgrel=2
+pkgdesc='Tool aimed at helping malware researchers to identify and classify malware samples'
+url='https://github.com/VirusTotal/yara-python'
+arch=('i686' 'x86_64')
+license=('Apache')
+makedepends=('git' 'yara' 'python-setuptools' 'python2-setuptools')
+source=(${pkgbase}::git+"https://github.com/VirusTotal/${_gitname}#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a ${pkgbase}{,-py2}
+}
+
+build() {
+  (cd ${pkgbase}
+    python setup.py build --dynamic-linking
+  )
+  (cd ${pkgbase}-py2
+    python2 setup.py build --dynamic-linking
+  )
+}
+
+
+package_python-yara() {
+  depends=('python' 'yara')
+  cd ${pkgbase}
+  python setup.py install --root="${pkgdir}" -O1
+  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')
+  cd ${pkgbase}-py2
+  python2 setup.py install --root="${pkgdir}" -O1
+  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