Bug 229440 - [NEW PORT] www/py-url: URL parsing, sanitizing and normalizing
Summary: [NEW PORT] www/py-url: URL parsing, sanitizing and normalizing
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: https://pypi.org/project/url/
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-30 22:11 UTC by Kai Knoblich
Modified: 2018-07-28 12:05 UTC (History)
2 users (show)

See Also:


Attachments
py-url.patch (2.30 KB, patch)
2018-06-30 22:11 UTC, Kai Knoblich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2018-06-30 22:11:38 UTC
Created attachment 194803 [details]
py-url.patch

Hello,

attached is the patch that adds the Python package www/py-url, that provides helper functions for parsing, sanitizing and normalizing URLs.

This includes support for escaping, unescaping, punycoding, unpunycoding, cleaning parameter and query strings and a little more sanitization.


QA:
- poudriere (11.2-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK
- portlint -> OK


Note:
I've been thinking a little while about whether this package is better placed into www/ or devel/ . If you think that py-url is better suited for the latter one please feel free to change the origin accordingly.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-07-28 12:05:12 UTC
A commit references this bug:

Author: miwi
Date: Sat Jul 28 12:04:23 UTC 2018
New revision: 475530
URL: https://svnweb.freebsd.org/changeset/ports/475530

Log:
  py-url provides helper functions for parsing, sanitizing and normalizing URLs.
  This includes support for escaping, unescaping, punycoding, unpunycoding,
  cleaning parameter and query strings and a little more sanitization.

  WWW: https://github.com/seomoz/url-py

  PR:		229440
  Submitted by:	freebsd_ports@k-worx.org
  Sponsored by:	iXsystems Inc.

Changes:
  head/www/Makefile
  head/www/py-url/
  head/www/py-url/Makefile
  head/www/py-url/distinfo
  head/www/py-url/pkg-descr