summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandrParkhomenko2020-03-23 20:45:04 +0300
committerAlexandrParkhomenko2020-03-23 20:45:04 +0300
commit3b8ded026f77673b3f8252a6353d6fad1e6229d2 (patch)
tree2f66a50b07e3c5b1e08b53d572b2d4056fcc14a3
downloadaur-3b8ded026f77673b3f8252a6353d6fad1e6229d2.tar.gz
welcome
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8b9c0b4ace5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-yfinance-git
+ pkgdesc = Yahoo! Finance market data downloader (+faster Pandas Datareader)
+ pkgver = 1
+ pkgrel = 1
+ url = https://github.com/ranaroussi/yfinance
+ arch = any
+ license = apache2
+ makedepends = python-setuptools
+ depends = python-requests
+ depends = python-multitasking-git
+ source = git://github.com/ranaroussi/yfinance
+ sha256sums = SKIP
+
+pkgname = python-yfinance-git
+
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
+}
+