Commit e99def18 authored by Cyril Roelandt's avatar Cyril Roelandt
Browse files

Remove upt.Package.download_urls.

parent 772b18a9
......@@ -8,6 +8,9 @@ Based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- upt.Archive: add a "filename" attribute
- upt.Archive: add support for sha256 in base64 notation
### Removed
- upt.Package: remove the download_urls attribute
## [0.6] - 2019-02-08
### Added
- upt.Archive: a representation of archive files, such as source tarballs
......
......@@ -235,7 +235,6 @@ class MyFrontendParser(upt.Parser):
homepage=..., # A string
summary=..., # A string containing a short description
description=..., # A string, containing a longer description
download_urls=[url1, url2, ...], # A list of strings
# upt.PackageRequirement takes two arguments:
# - the name of the package
# - a version specifier, as defined in
......
......@@ -151,7 +151,6 @@ class Package(object):
- homepage: a string, representing the official homepage of the package
- summary: a short summary of the package's purpose
- description: a long description of the package's purpose
- download_urls: deprecated
- requirement: a dict with 3 keys:
- 'build': the build dependencies of the package;
- 'run': the runtime dependencies of the package;
......@@ -166,8 +165,6 @@ class Package(object):
self.homepage = kwargs.get('homepage', '')
self.summary = kwargs.get('summary', '')
self.description = kwargs.get('description', '')
# TODO: Remove download urls.
self.download_urls = kwargs.get('download_urls', [])
# Software requirements, as instances of PackageRequirement: {
# 'build': [pkg1, ...],
# 'run': [pkg2, ...],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment