pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www py-flask-restful: added version 0.3.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a113a3ec193
branches:  trunk
changeset: 316166:7a113a3ec193
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 06 19:32:05 2018 +0000

description:
py-flask-restful: added version 0.3.6

Flask-RESTful is an extension for Flask that adds support for quickly building REST APIs. It is a lightweight abstraction that works with your existing ORM/libraries. Flask-RESTful encourages best 
practices with minimal setup. If you are familiar with Flask, Flask-RESTful should be easy to pick up.

diffstat:

 www/Makefile                                |   3 +-
 www/py-flask-restful/DESCR                  |   4 ++
 www/py-flask-restful/Makefile               |  24 +++++++++++++++++
 www/py-flask-restful/PLIST                  |  40 +++++++++++++++++++++++++++++
 www/py-flask-restful/distinfo               |   7 +++++
 www/py-flask-restful/patches/patch-setup.py |  15 ++++++++++
 6 files changed, 92 insertions(+), 1 deletions(-)

diffs (127 lines):

diff -r cb0840bf4395 -r 7a113a3ec193 www/Makefile
--- a/www/Makefile      Thu Dec 06 19:25:33 2018 +0000
+++ b/www/Makefile      Thu Dec 06 19:32:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1351 2018/12/03 02:20:36 manu Exp $
+# $NetBSD: Makefile,v 1.1352 2018/12/06 19:32:05 adam Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -692,6 +692,7 @@
 SUBDIR+=       py-flask-mail
 SUBDIR+=       py-flask-principal
 SUBDIR+=       py-flask-rest
+SUBDIR+=       py-flask-restful
 SUBDIR+=       py-flask-script
 SUBDIR+=       py-flask-security
 SUBDIR+=       py-flask-sqlalchemy
diff -r cb0840bf4395 -r 7a113a3ec193 www/py-flask-restful/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-restful/DESCR        Thu Dec 06 19:32:05 2018 +0000
@@ -0,0 +1,4 @@
+Flask-RESTful is an extension for Flask that adds support for quickly building
+REST APIs. It is a lightweight abstraction that works with your existing
+ORM/libraries. Flask-RESTful encourages best practices with minimal setup. If
+you are familiar with Flask, Flask-RESTful should be easy to pick up.
diff -r cb0840bf4395 -r 7a113a3ec193 www/py-flask-restful/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-restful/Makefile     Thu Dec 06 19:32:05 2018 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2018/12/06 19:32:05 adam Exp $
+
+DISTNAME=      Flask-RESTful-0.3.6
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Flask-RESTful/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/flask-restful/flask-restful
+COMMENT=       Simple framework for creating REST APIs
+LICENSE=       modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-aniso8601>=0.82:../../time/py-aniso8601
+DEPENDS+=      ${PYPKGPREFIX}-cryptodome-[0-9]*:../../security/py-cryptodome
+DEPENDS+=      ${PYPKGPREFIX}-flask>=0.8:../../www/py-flask
+DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.3.0:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r cb0840bf4395 -r 7a113a3ec193 www/py-flask-restful/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-restful/PLIST        Thu Dec 06 19:32:05 2018 +0000
@@ -0,0 +1,40 @@
+@comment $NetBSD: PLIST,v 1.1 2018/12/06 19:32:05 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/flask_restful/__init__.py
+${PYSITELIB}/flask_restful/__init__.pyc
+${PYSITELIB}/flask_restful/__init__.pyo
+${PYSITELIB}/flask_restful/__version__.py
+${PYSITELIB}/flask_restful/__version__.pyc
+${PYSITELIB}/flask_restful/__version__.pyo
+${PYSITELIB}/flask_restful/fields.py
+${PYSITELIB}/flask_restful/fields.pyc
+${PYSITELIB}/flask_restful/fields.pyo
+${PYSITELIB}/flask_restful/inputs.py
+${PYSITELIB}/flask_restful/inputs.pyc
+${PYSITELIB}/flask_restful/inputs.pyo
+${PYSITELIB}/flask_restful/paging.py
+${PYSITELIB}/flask_restful/paging.pyc
+${PYSITELIB}/flask_restful/paging.pyo
+${PYSITELIB}/flask_restful/representations/__init__.py
+${PYSITELIB}/flask_restful/representations/__init__.pyc
+${PYSITELIB}/flask_restful/representations/__init__.pyo
+${PYSITELIB}/flask_restful/representations/json.py
+${PYSITELIB}/flask_restful/representations/json.pyc
+${PYSITELIB}/flask_restful/representations/json.pyo
+${PYSITELIB}/flask_restful/reqparse.py
+${PYSITELIB}/flask_restful/reqparse.pyc
+${PYSITELIB}/flask_restful/reqparse.pyo
+${PYSITELIB}/flask_restful/utils/__init__.py
+${PYSITELIB}/flask_restful/utils/__init__.pyc
+${PYSITELIB}/flask_restful/utils/__init__.pyo
+${PYSITELIB}/flask_restful/utils/cors.py
+${PYSITELIB}/flask_restful/utils/cors.pyc
+${PYSITELIB}/flask_restful/utils/cors.pyo
+${PYSITELIB}/flask_restful/utils/crypto.py
+${PYSITELIB}/flask_restful/utils/crypto.pyc
+${PYSITELIB}/flask_restful/utils/crypto.pyo
diff -r cb0840bf4395 -r 7a113a3ec193 www/py-flask-restful/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-restful/distinfo     Thu Dec 06 19:32:05 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/12/06 19:32:05 adam Exp $
+
+SHA1 (Flask-RESTful-0.3.6.tar.gz) = 69584f970645893ffdaad2e4db60cbdb949459ed
+RMD160 (Flask-RESTful-0.3.6.tar.gz) = 06a61de7d39c45f876c1856a3941be8f4f8cfda8
+SHA512 (Flask-RESTful-0.3.6.tar.gz) = 7d980a12ed5d72e16fc0e6b45abc75d552f4921a68ab3d4af0425b0b0c9f517cc8240615802ccd6147f122aa0d859d79bb2af7e694f48e614bf9870d8b50e931
+Size (Flask-RESTful-0.3.6.tar.gz) = 103092 bytes
+SHA1 (patch-setup.py) = 969a6b81bdee659f8e4df301ef22ab2493e5d85b
diff -r cb0840bf4395 -r 7a113a3ec193 www/py-flask-restful/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-restful/patches/patch-setup.py       Thu Dec 06 19:32:05 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2018/12/06 19:32:05 adam Exp $
+
+Prefer pycryptodome.
+
+--- setup.py.orig      2018-12-06 12:01:18.000000000 +0000
++++ setup.py
+@@ -60,7 +60,7 @@ setup(
+     tests_require=['Flask-RESTful[paging]', 'mock>=0.8', 'blinker'],
+     # Install these with "pip install -e '.[paging]'" or '.[docs]'
+     extras_require={
+-        'paging': 'pycrypto>=2.6',
++        'paging': 'pycryptodome',
+         'docs': 'sphinx',
+     }
+ )



Home | Main Index | Thread Index | Old Index