pkgsrc-Changes archive

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

CVS commit: pkgsrc/www



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Dec  6 19:32:05 UTC 2018

Modified Files:
        pkgsrc/www: Makefile
Added Files:
        pkgsrc/www/py-flask-restful: DESCR Makefile PLIST distinfo
        pkgsrc/www/py-flask-restful/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1351 -r1.1352 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-flask-restful/DESCR \
    pkgsrc/www/py-flask-restful/Makefile pkgsrc/www/py-flask-restful/PLIST \
    pkgsrc/www/py-flask-restful/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-flask-restful/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/www/Makefile
diff -u pkgsrc/www/Makefile:1.1351 pkgsrc/www/Makefile:1.1352
--- pkgsrc/www/Makefile:1.1351  Mon Dec  3 02:20:36 2018
+++ pkgsrc/www/Makefile Thu Dec  6 19:32:05 2018
@@ -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-login
 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

Added files:

Index: pkgsrc/www/py-flask-restful/DESCR
diff -u /dev/null pkgsrc/www/py-flask-restful/DESCR:1.1
--- /dev/null   Thu Dec  6 19:32:05 2018
+++ pkgsrc/www/py-flask-restful/DESCR   Thu Dec  6 19:32:05 2018
@@ -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.
Index: pkgsrc/www/py-flask-restful/Makefile
diff -u /dev/null pkgsrc/www/py-flask-restful/Makefile:1.1
--- /dev/null   Thu Dec  6 19:32:05 2018
+++ pkgsrc/www/py-flask-restful/Makefile        Thu Dec  6 19:32:05 2018
@@ -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"
Index: pkgsrc/www/py-flask-restful/PLIST
diff -u /dev/null pkgsrc/www/py-flask-restful/PLIST:1.1
--- /dev/null   Thu Dec  6 19:32:05 2018
+++ pkgsrc/www/py-flask-restful/PLIST   Thu Dec  6 19:32:05 2018
@@ -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
Index: pkgsrc/www/py-flask-restful/distinfo
diff -u /dev/null pkgsrc/www/py-flask-restful/distinfo:1.1
--- /dev/null   Thu Dec  6 19:32:05 2018
+++ pkgsrc/www/py-flask-restful/distinfo        Thu Dec  6 19:32:05 2018
@@ -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

Index: pkgsrc/www/py-flask-restful/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-flask-restful/patches/patch-setup.py:1.1
--- /dev/null   Thu Dec  6 19:32:05 2018
+++ pkgsrc/www/py-flask-restful/patches/patch-setup.py  Thu Dec  6 19:32:05 2018
@@ -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