diff options
author | Jingbei Li | 2016-12-04 12:26:17 +0800 |
---|---|---|
committer | Jingbei Li | 2016-12-04 12:26:17 +0800 |
commit | 2d42ecd1acbfc23a0f772f7086570def66838a58 (patch) | |
tree | c128047f8e440f4737e440b7ac5b2e1a34269091 | |
download | aur-2d42ecd1acbfc23a0f772f7086570def66838a58.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c9f7fa8b0487 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sun Dec 4 04:26:02 UTC 2016 +pkgbase = python-tflearn-git + pkgdesc = TFlearn is a modular and transparent deep learning library built on top of Tensorflow. + pkgver = 0.2.2.r144.gb33bee3 + pkgrel = 1 + url = http://tflearn.org/ + arch = any + license = MIT + makedepends = python-setuptools + depends = python-numpy + depends = python-six + depends = python-pillow + depends = python-tensorflow + source = python-tflearn-git::git+https://github.com/tflearn/tflearn + md5sums = SKIP + +pkgname = python-tflearn-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4f0eebfb2e85 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.sw* +*/ +*.pkg* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1c429a2cffae --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Jingbei Li <i@jingbei.li> +pkgname='python-tflearn-git' +pkgdesc="TFlearn is a modular and transparent deep learning library built on top of Tensorflow." +pkgver=0.2.2.r144.gb33bee3 +pkgrel=1 +depends=('python-numpy' 'python-six' 'python-pillow' 'python-tensorflow') +makedepends=('python-setuptools') +arch=('any') +url="http://tflearn.org/" +license=('MIT') +source=("$pkgname::git+https://github.com/tflearn/tflearn") +md5sums=('SKIP') + +pkgver(){ + cd "${pkgname}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' +} + +package() { + cd "$srcdir/$pkgname" + python setup.py install --root="$pkgdir/" --optimize=1 + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |