summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsta Zahn2019-02-05 10:44:58 -0500
committerIsta Zahn2019-02-05 10:44:58 -0500
commit08d61a43f55c754d3951b6401a2470646e62120c (patch)
tree1d3466817dd08b020e26536e8319e147fc1ac8fc
downloadaur-08d61a43f55c754d3951b6401a2470646e62120c.tar.gz
initial version
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD28
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..273bfa89e45
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = jupyter_stata_kernel
+ pkgdesc = A Jupyter kernel for Stata. Works with Windows, macOS, and Linux. Preserves program state.
+ pkgver = 1.10.5
+ pkgrel = 1
+ url = https://kylebarron.github.io/stata_kernel/
+ arch = any
+ license = GPL3
+ makedepends = python-setuptools
+ depends = python
+ depends = jupyter
+ depends = python-pandas
+ depends = python-beautifulsoup4
+ depends = python-packaging
+ depends = python-pillow
+ depends = python-pexpect
+ depends = python-pygments
+ depends = python-requests
+ source = https://files.pythonhosted.org/packages/67/86/5979c2b683851f9e6a0a672ceaee3171fe7e18e152554deb0d62101c9879/stata_kernel-1.10.5.tar.gz
+ sha256sums = a57d8520c4aa9c5dfc625033bdfe3530a155a60e2e54c7c39065cb971c1b7c98
+
+pkgname = jupyter_stata_kernel
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bd956fd963f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Ista Zahn <istazahn[at]gmail[dot]com>
+
+pkgbase=jupyter_stata_kernel
+_pyname=stata_kernel
+pkgname=('jupyter_stata_kernel')
+depends=('python' 'jupyter' 'python-pandas' 'python-beautifulsoup4'
+ 'python-packaging' 'python-pillow' 'python-pexpect'
+ 'python-pygments' 'python-requests')
+makedepends=('python-setuptools')
+pkgver=1.10.5
+pkgrel=1
+pkgdesc="A Jupyter kernel for Stata. Works with Windows, macOS, and Linux. Preserves program state."
+arch=('any')
+url="https://kylebarron.github.io/stata_kernel/"
+license=('GPL3')
+source=("https://files.pythonhosted.org/packages/67/86/5979c2b683851f9e6a0a672ceaee3171fe7e18e152554deb0d62101c9879/stata_kernel-1.10.5.tar.gz")
+sha256sums=('a57d8520c4aa9c5dfc625033bdfe3530a155a60e2e54c7c39065cb971c1b7c98')
+
+package() {
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python setup.py install -O1 --root="${pkgdir}"
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
+}
+
+post_install() {
+ python -m stata_kernel.install
+}