summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD32
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..34f82fd0a8f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = python-cid
+ pkgdesc = Self-describing content-addressed identifiers for distributed systems
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://pypi.python.org/pypi/py-cid
+ arch = any
+ license = MIT
+ depends = python
+ depends = python-setuptools
+ depends = python-baseconv
+ depends = python-multibase
+ depends = python-morphys
+ depends = python-pymultihash
+ depends = python-multicodec
+ source = https://pypi.io/packages/source/p/py-cid/py-cid-0.3.0.tar.gz
+ sha256sums = 22f432cc6fb68d12a9c35dbdc92c95484fc49e31dfcb9e0efb0082233c5394e3
+
+pkgname = python-cid
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..1aee993719d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.zst
+*.tar.gz
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..df3aced7906
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: redfish <redfish@galactica.pw>
+
+pkgname=python-cid
+_name=py-cid
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Self-describing content-addressed identifiers for distributed systems"
+arch=('any')
+url="https://pypi.python.org/pypi/py-cid"
+license=('MIT')
+depends=('python'
+ 'python-setuptools'
+ 'python-baseconv'
+ 'python-multibase'
+ 'python-morphys'
+ 'python-pymultihash'
+ 'python-multicodec'
+ )
+checkdepends=()
+source=("https://pypi.io/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+
+build() {
+ cd "$_name-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$_name-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+sha256sums=('22f432cc6fb68d12a9c35dbdc92c95484fc49e31dfcb9e0efb0082233c5394e3')