summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD26
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c4fbf6ab3cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Sat Dec 5 08:04:03 UTC 2015
+pkgbase = python-affine
+ pkgdesc = Python package for generating multi-unit schematic symbols for KiCad from a CSV file
+ pkgver = 1.2.0
+ pkgrel = 1
+ url = https://github.com/xesscorp/KiPart
+ arch = any
+ license = MIT
+ depends = python
+ depends = python-pip
+ source = https://pypi.python.org/packages/source/a/affine/affine-1.2.0.tar.gz
+ sha512sums = 7671d9d5458b713d1f8bc3714983e17f1e981e97b7aaf9923fd1ceb8743861879c2b54cca17c36447ff00b3111f518ebe181f2e14fc296e95e66f38702499851
+
+pkgname = python-affine
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..19681f384f4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.gz
+*.tar.xz
+/pkg
+/src
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..758db61d907
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com>
+_pkgname=affine
+pkgname=python-${_pkgname}
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Python package for generating multi-unit schematic symbols for KiCad from a CSV file"
+url="https://github.com/xesscorp/KiPart"
+depends=('python'
+ 'python-pip'
+)
+optdepends=()
+license=('BSD')
+arch=('any')
+source=("https://pypi.python.org/packages/source/a/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('7671d9d5458b713d1f8bc3714983e17f1e981e97b7aaf9923fd1ceb8743861879c2b54cca17c36447ff00b3111f518ebe181f2e14fc296e95e66f38702499851')
+
+build() {
+ cd "$srcdir/${_pkgname}-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/${_pkgname}-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+