diff options
author | Benjamin Chrétien | 2015-03-06 20:55:53 +0100 |
---|---|---|
committer | Benjamin Chrétien | 2015-06-09 19:11:19 +0900 |
commit | 343a4ab72fbbef769eb9b3b22e95f39466e7ba77 (patch) | |
tree | daccfa733fb1d1c176d4aff9e38abf6eff9c5487 | |
download | aur-343a4ab72fbbef769eb9b3b22e95f39466e7ba77.tar.gz |
Miscellaneous changes.
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..139bfd6c6830 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-pprofile + pkgdesc = Line-granularity, thread-aware deterministic and statistic pure-python profiler + pkgver = 1.7.2 + pkgrel = 1 + url = http://github.com/vpelletier/pprofile + arch = any + license = GPLv2 + makedepends = python + makedepends = python-setuptools + depends = python + source = https://pypi.python.org/packages/source/p/pprofile/pprofile-1.7.2.tar.gz + md5sums = 54c9cebd083e16849727a0fae7ae5508 + +pkgname = python-pprofile + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bcfb1035df1f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +#Automatically generated by pip2arch on 2015-03-02 +pkgname=python-pprofile +_name=pprofile +pkgver=1.7.2 +pkgrel=1 +pkgdesc="Line-granularity, thread-aware deterministic and statistic pure-python profiler" +url="http://github.com/vpelletier/pprofile" +depends=('python') +makedepends=('python' 'python-setuptools') +license=('GPLv2') +arch=('any') +source=("https://pypi.python.org/packages/source/p/${_name}/${_name}-1.7.2.tar.gz") +md5sums=('54c9cebd083e16849727a0fae7ae5508') + +build() { + cd "${srcdir}/${_name}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_name}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 +} |