Skip to content

Commit 3f59dee

Browse files
committed
Prepare for new release 0.9.0
Signed-off-by: Philippe Ombredanne <[email protected]>
2 parents d487b07 + 564cda8 commit 3f59dee

File tree

6 files changed

+17
-8
lines changed

6 files changed

+17
-8
lines changed

AUTHORS.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ packageurl-python:
44
- Philippe Ombredanne @pombredanne
55
- Jiri Popelka @jpopelka
66
- Thomas Druez @tdruez
7+
- Jono Yang @JonoYang
8+
- Sebastain Schuberth @sschuberth
9+
- Tushar Goel @TG1999
10+
- Haiko Schol @haikoschol

CHANGELOG.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
Changelog
22
=========
33

4-
x.x.x (2017-xx-xx)
4+
0.9.0 (2020-04-06)
55
------------------
66

7-
Initial release
7+
- Make PackageURL hashable.
8+
- Add cargo type or url2purl

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
universal = 1
33

44
[metadata]
5-
license_file = mit.LICENSE
5+
license_files =
6+
- mit.LICENSE
7+
- AUTHORS.rst
8+
- README.rst
9+
- CONTRIBUTING.rst
610

711
[aliases]
812
release = clean --all sdist bdist_wheel

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setup(
1616
name='packageurl-python',
17-
version='0.8.8',
17+
version='0.9.0',
1818
license='MIT',
1919
description='A "purl" aka. package URL parser and builder',
2020
long_description='Python library to parse and build "purl" aka. package URLs. '

src/packageurl/contrib/route.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
5252
This is inspired by Guido's http://www.artima.com/weblogs/viewpost.jsp?thread=101605
5353
and Django, Flask, Werkzeug and other url dispatch and routing design from web
54-
frameworks.
54+
frameworks.
5555
https://github.com/douban/brownant has a similar approach, using
5656
Werkzeug with the limitation that it does not route based on URI scheme and is
5757
limited to HTTP.

src/packageurl/contrib/url2purl.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545

4646
"""
47-
This module helps build a PackageURL from an arbitrary URL.
47+
This module helps build a PackageURL from an arbitrary URL.
4848
This uses the a routing mechanism available in the route.py module.
4949
5050
In order to make it easy to use, it contains all the conversion functions
@@ -265,14 +265,14 @@ def build_sourceforge_purl(uri):
265265
return purl_from_pattern('sourceforge', sourceforge_pattern, uri)
266266

267267

268-
cargo_pattern= (
268+
cargo_pattern = (
269269
r"^https?://crates.io/api/v1/crates/"
270270
r"(?P<name>.+)/(?P<version>.+)"
271271
r"(\/download)$"
272272
)
273273

274274

275-
#https://crates.io/api/v1/crates/rand/0.7.2/download
275+
# https://crates.io/api/v1/crates/rand/0.7.2/download
276276
@purl_router.route(cargo_pattern)
277277
def build_cargo_purl(uri):
278278
return purl_from_pattern('cargo', cargo_pattern, uri)

0 commit comments

Comments
 (0)