summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..66753d6917a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Alexandr Parkhomenko
+
+_module=yfinance
+pkgname=python-yfinance-git
+pkgver=1
+pkgrel=1
+pkgdesc="Yahoo! Finance market data downloader (+faster Pandas Datareader) "
+url="https://github.com/ranaroussi/yfinance"
+depends=('python-requests' 'python-multitasking-git')
+makedepends=('python-setuptools')
+license=('apache2')
+arch=('any')
+source=("git://github.com/ranaroussi/yfinance")
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${_module}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_module}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+