summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorclintval2017-12-20 22:45:56 -0500
committerclintval2017-12-20 22:45:56 -0500
commit8feab9d89bcf4d60ec5217e612266344ceb5d8d2 (patch)
treed161aa72a8bd0e249c411da9eb4418cbf78380a5
downloadaur-8feab9d89bcf4d60ec5217e612266344ceb5d8d2.tar.gz
First commit with PKGBUILD and .SRCINFO
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD20
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e6d77b9fb5c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-memoized-property
+ pkgdesc = Python decorator for defining properties that only run their fget function once
+ pkgver = 1.0.1
+ pkgrel = 1
+ url = https://pypi.python.org/pypi/memoized-property
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ depends = python
+ source = https://pypi.python.org/packages/42/8d/81892a7858ce247a2e305cf7ff35db13f260fe232d98dd7fe85971b263d1/memoized-property-1.0.1.tar.gz
+ md5sums = 8b05cbd912d3d4c24c2d62c3ab0f5b7f
+
+pkgname = python-memoized-property
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..691fea64157
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Clint Valentine <valentine.clint@gmail.com>
+
+pkgname='python-memoized-property'
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Python decorator for defining properties that only run their fget function once"
+arch=('any')
+url="https://pypi.python.org/pypi/memoized-property"
+license=('BSD')
+depends=('python')
+optdepends=()
+makedepends=('python-setuptools')
+ptions=(!emptydirs)
+source=("https://pypi.python.org/packages/42/8d/81892a7858ce247a2e305cf7ff35db13f260fe232d98dd7fe85971b263d1/memoized-property-${pkgver}.tar.gz")
+md5sums=('8b05cbd912d3d4c24c2d62c3ab0f5b7f')
+
+package() {
+ cd "${srcdir}/memoized-property-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+}