Bug 225202 - [NEW PORT] security/py-flask-saml: SAML authentication for Flask web apps
Summary: [NEW PORT] security/py-flask-saml: SAML authentication for Flask web apps
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-16 00:55 UTC by John W. O'Brien
Modified: 2018-05-20 18:07 UTC (History)
2 users (show)

See Also:


Attachments
security/py-flask-saml: New port (4.03 KB, text/plain)
2018-01-16 00:55 UTC, John W. O'Brien
john: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John W. O'Brien 2018-01-16 00:55:46 UTC
Created attachment 189776 [details]
security/py-flask-saml: New port

Description
===========

Flask-SAML is an extension for the Flask web application micro framework
that implements Security Association Markup Language (SAML) authentication.

WWW: https://bitbucket.org/asecurityteam/flask_saml


QA
==

portlint: OK
poudriere: OK -- testport w/py27 (default), py34, py35, py36
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2018-05-14 15:12:59 UTC
Hi John,

I think we miss here a dependency, please have a look at belows, error.

[00:00:07] Download error on https://pypi.org/simple/pytest-runner/: [Errno 65] No route to host -- Some packages may not be found!
[00:00:07] Couldn't find index page for 'pytest-runner' (maybe misspelled?)
[00:00:07] Download error on https://pypi.org/simple/: [Errno 65] No route to host -- Some packages may not be found!
[00:00:07] No local packages or working download links found for pytest-runner
[00:00:07] Traceback (most recent call last):
[00:00:07]   File "<string>", line 1, in <module>
[00:00:07]   File "setup.py", line 34, in <module>
[00:00:07]     zip_safe=False,
[00:00:07]   File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 128, in setup
[00:00:07]     _install_setup_requires(attrs)
[00:00:07]   File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 123, in _install_setup_requires
[00:00:07]     dist.fetch_build_eggs(dist.setup_requires)
[00:00:07]   File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 504, in fetch_build_eggs
[00:00:07]     replace_conflicting=True,
[00:00:07]   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 774, in resolve
[00:00:07]     replace_conflicting=replace_conflicting
[00:00:07]   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1057, in best_match
[00:00:07]     return self.obtain(req, installer)
[00:00:07]   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1069, in obtain
[00:00:07]     return installer(requirement)
[00:00:07]   File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 571, in fetch_build_egg
[00:00:07]     return cmd.easy_install(req)
[00:00:07]   File "/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 667, in easy_install
[00:00:07]     raise DistutilsError(msg)
[00:00:07] distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
[00:00:07] *** Error code 1
[00:00:07]
Comment 2 John W. O'Brien 2018-05-15 01:49:26 UTC
(In reply to Martin Wilke from comment #1)

I am not able to reproduce the build error you report unless I remove files/patch-setup.py. With the full diff applied to my ports tree, testport completes successfully.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2018-05-20 18:05:57 UTC
ommitted thanks.
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-05-20 18:07:16 UTC
A commit references this bug:

Author: miwi
Date: Sun May 20 18:06:17 UTC 2018
New revision: 470467
URL: https://svnweb.freebsd.org/changeset/ports/470467

Log:
  Flask-SAML is an extension for the Flask web application micro framework
  that implements Security Association Markup Language (SAML) authentication.

  WWW: https://bitbucket.org/asecurityteam/flask_saml

  PR:		225202
  Submitted by:	John W. O'Brien <john@saltant.com>
  Sponsored by:	iXsystems Inc.

Changes:
  head/security/Makefile
  head/security/py-flask-saml/
  head/security/py-flask-saml/Makefile
  head/security/py-flask-saml/distinfo
  head/security/py-flask-saml/files/
  head/security/py-flask-saml/files/patch-setup.py
  head/security/py-flask-saml/pkg-descr