pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-Robinhood: Import version 1.0



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Thu Oct 12 11:40:53 2017 -0700
Changeset:	f2c7c7cc0864bd5a3da24b739b516b8b390c25e7

Modified Files:
	Makefile
Added Files:
	py-Robinhood/DESCR
	py-Robinhood/Makefile
	py-Robinhood/PLIST
	py-Robinhood/distinfo
	py-Robinhood/patches/patch-setup.py

Log Message:
py-Robinhood: Import version 1.0

Robinhood is a Python Framework to make trades with Robinhood Private
API. Current features include placing buy orders, placing sell order,
retrieving quote information, and querying user portfolio and
positions data.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f2c7c7cc0864bd5a3da24b739b516b8b390c25e7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                            |  1 +
 py-Robinhood/DESCR                  |  4 ++++
 py-Robinhood/Makefile               | 22 ++++++++++++++++++++++
 py-Robinhood/PLIST                  | 18 ++++++++++++++++++
 py-Robinhood/distinfo               |  7 +++++++
 py-Robinhood/patches/patch-setup.py | 13 +++++++++++++
 6 files changed, 65 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 5f7ae8d093..9272d563ff 100644
--- a/Makefile
+++ b/Makefile
@@ -2799,6 +2799,7 @@ SUBDIR+=	py-PyPE
 SUBDIR+=	py-PythonDirector
 SUBDIR+=	py-PythonMagick
 SUBDIR+=	py-RXP
+SUBDIR+=	py-Robinhood
 SUBDIR+=	py-SQLObject
 SUBDIR+=	py-Soya
 SUBDIR+=	py-Xlib
diff --git a/py-Robinhood/DESCR b/py-Robinhood/DESCR
new file mode 100644
index 0000000000..d1b9d2a4be
--- /dev/null
+++ b/py-Robinhood/DESCR
@@ -0,0 +1,4 @@
+Robinhood is a Python Framework to make trades with Robinhood Private
+API. Current features include placing buy orders, placing sell order,
+retrieving quote information, and querying user portfolio and
+positions data.
diff --git a/py-Robinhood/Makefile b/py-Robinhood/Makefile
new file mode 100644
index 0000000000..f00cd5686b
--- /dev/null
+++ b/py-Robinhood/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	Robinhood-1.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	finance python
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Jamonek/}
+EGG_NAME=	${DISTNAME}.0
+GITHUB_PROJECT=	Robinhood
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	minskim%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/Jamonek/Robinhood
+COMMENT=	Python Framework to make trades with Robinhood Private API
+LICENSE=	mit
+
+DEPENDS+=	${PYPKGPREFIX}-requests>=2.13.0:../../devel/py-requests
+DEPENDS+=	${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-Robinhood/PLIST b/py-Robinhood/PLIST
new file mode 100644
index 0000000000..f01ee7cb64
--- /dev/null
+++ b/py-Robinhood/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/Robinhood/Robinhood.py
+${PYSITELIB}/Robinhood/__init__.py
+${PYSITELIB}/Robinhood/Robinhood.pyo
+${PYSITELIB}/Robinhood/Robinhood.pyc
+${PYSITELIB}/Robinhood/__init__.pyo
+${PYSITELIB}/Robinhood/__init__.pyc
+${PYSITELIB}/Robinhood/exceptions.pyo
+${PYSITELIB}/Robinhood/exceptions.pyc
+${PYSITELIB}/Robinhood/trade_history_downloader.pyo
+${PYSITELIB}/Robinhood/trade_history_downloader.pyc
+${PYSITELIB}/Robinhood/exceptions.py
+${PYSITELIB}/Robinhood/trade_history_downloader.py
diff --git a/py-Robinhood/distinfo b/py-Robinhood/distinfo
new file mode 100644
index 0000000000..874f4bf0a4
--- /dev/null
+++ b/py-Robinhood/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/06/13 02:07:35 kamil Exp $
+
+SHA1 (Robinhood-1.0.tar.gz) = 2d214059f9c4e880bd51e451b83da0f5d380bde0
+RMD160 (Robinhood-1.0.tar.gz) = 8bb8420177835a2c51ba2ddfc93c418aea030d05
+SHA512 (Robinhood-1.0.tar.gz) = d9412a00c1d5373414ff699c90011115368ad44ab4aacf404c2ce77ef65ad575f363c1163ea705570a249a492171bbe9015da1a91431f992bd77cbbf9e735f22
+Size (Robinhood-1.0.tar.gz) = 12971 bytes
+SHA1 (patch-setup.py) = 3430a3be9548c100399af2d9b129c2a35778ac6a
diff --git a/py-Robinhood/patches/patch-setup.py b/py-Robinhood/patches/patch-setup.py
new file mode 100644
index 0000000000..b1de9cb7c5
--- /dev/null
+++ b/py-Robinhood/patches/patch-setup.py
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- setup.py.orig	2017-07-31 18:28:59.000000000 +0000
++++ setup.py
+@@ -107,8 +107,6 @@ setup(
+     keywords='Robinhood trade API',
+     packages=find_packages(),
+     data_files=[
+-        ('docs', include_all_subfiles('docs')),
+-        ('tests', include_all_subfiles('tests'))
+     ],
+     install_requires=get_requirements(),
+     tests_require=get_requirements(True),


Home | Main Index | Thread Index | Old Index