diff options
author | Kyle Manna | 2016-01-11 08:10:45 -0800 |
---|---|---|
committer | Kyle Manna | 2016-01-11 08:10:45 -0800 |
commit | 1e29f65a5b59759c598ea2df2e5fefed735cff62 (patch) | |
tree | fefa771a3a1bb5cc596cb0ef4f724c197484202d | |
download | aur-1e29f65a5b59759c598ea2df2e5fefed735cff62.tar.gz |
release: v0.5-1
* Initial release
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..287599728711 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Mon Jan 11 16:10:07 UTC 2016 +pkgbase = python-kademlia + pkgdesc = Distributed hash table for decentralized peer-to-peer computer networks + pkgver = 0.5 + pkgrel = 1 + url = http://github.com/bmuller/kademlia + arch = any + license = MIT + depends = python + depends = python-twisted + source = https://pypi.python.org/packages/source/k/kademlia/kademlia-0.5.tar.gz + sha256sums = 5069c5d404226165ed30b9384be5dedf5f16b065ddf2344c66aa3222583e1d94 + +pkgname = python-kademlia + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..cb276d7e8893 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.xz +*.tar.gz +*.zip +/src +/pkg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..71830c08bce2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com> +pkgname=python-kademlia +_pkgname=${pkgname/python-/} +pkgver=0.5 +pkgrel=1 +pkgdesc="Distributed hash table for decentralized peer-to-peer computer networks" +url="http://github.com/bmuller/kademlia" +depends=('python' 'python-twisted') +optdepends=() +license=('MIT') +arch=('any') +source=("https://pypi.python.org/packages/source/k/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('5069c5d404226165ed30b9384be5dedf5f16b065ddf2344c66aa3222583e1d94') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + rm -rf ${pkgdir}/usr/lib/python*/site-packages/tests/ +} + |