[arch-commits] Commit in python-plop/repos (community-any community-any/PKGBUILD)

Felix Yan fyan at archlinux.org
Wed Aug 12 14:28:38 UTC 2015


    Date: Wednesday, August 12, 2015 @ 16:28:38
  Author: fyan
Revision: 138280

archrelease: copy trunk to community-any

Added:
  python-plop/repos/community-any/
  python-plop/repos/community-any/PKGBUILD
    (from rev 138279, python-plop/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-plop/repos/community-any/PKGBUILD (from rev 138279, python-plop/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-08-12 14:28:38 UTC (rev 138280)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgbase=python-plop
+pkgname=python2-plop
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Python Low-Overhead Profiler"
+arch=('any')
+license=('MIT')
+url="https://github.com/bdarnell/plop"
+makedepends=('python2-tornado')
+source=("https://pypi.python.org/packages/source/p/plop/plop-${pkgver}.tar.gz")
+md5sums=('5a5e60c18893c5f827633f2a75ac6cf9')
+
+check() {
+  cd "$srcdir/plop-${pkgver}"
+  python2 -m plop.test.runtests
+}
+
+package_python2-plop() {
+  depends=('python2')
+  optdepends=('python2-tornado: for plop.viewer')
+
+  cd "${srcdir}/plop-${pkgver}"
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



More information about the arch-commits mailing list