Updated templates to new manifest format

This commit is contained in:
Alejandro R. Mosteo
2020-07-24 17:02:48 +01:00
parent 873aeb6196
commit 5864a0bac6
2 changed files with 25 additions and 12 deletions
+22 -11
View File
@@ -1,9 +1,12 @@
[general]
## ##
## Mandatory properties follow, uncommented. Fill 'em all! ## Mandatory properties follow, uncommented. Fill 'em all!
## ##
name = "my_crate_name"
## The release version stored in this manifest, following semantic versioning rules: https://semver.org
version = "0.1"
description = "One-liner describing the project (72 chars max)" description = "One-liner describing the project (72 chars max)"
## See possible licenses at https://github.com/alire-project/alire/blob/master/doc/catalog-format-spec.rst#general-info ## See possible licenses at https://github.com/alire-project/alire/blob/master/doc/catalog-format-spec.rst#general-info
@@ -20,7 +23,9 @@ maintainers-logins = ["user1", "user2"]
## ##
## Long description, can be multi-line using """ """ as delimiters ## Long description, can be multi-line using """ """ as delimiters
# long-description = "" # long-description = """
# A very very long Markup text can be given here.
#"""
## Executables built (must not include any relative path) ## Executables built (must not include any relative path)
# executables = [] # executables = []
@@ -36,15 +41,21 @@ maintainers-logins = ["user1", "user2"]
## A website with further information ## A website with further information
# website = "url" # website = "url"
############ ##
# RELEASES # ## ORIGIN: this is where your sources are found
############ ##
['1.0'] [origin]
origin = "https://URL_TO_ARCHIVE.tar.gz.or.zip" url = "https://URL_TO_ARCHIVE.tar.gz.or.zip"
origin-hashes = ["sha512:hexadecimal-hash-goes-here"] hashes = ["sha512:hexadecimal-hash-goes-here"]
## Dependencies needed by this release: ## Alternatively, a git/hg/svn repository and commit can be given.
# ['1.0'.depends-on] ## In that case, hashes cannot be provided:
# url = "git+https://URL/to/repo"
# commit = "3cb3d3f892fb73bbfd60296e177049fde92f3bb1"
## Dependencies needed by this release. Dependencies must be given
## as a TOML array of tables, each table containing a dependency.
# [[depends-on]]
# libfoo = "^1.0" # libfoo = "^1.0"
# ... # ...
+3 -1
View File
@@ -1,8 +1,10 @@
[general]
description = "Knowingly unavailable dependency template" description = "Knowingly unavailable dependency template"
long-description = "This is a placeholder for an unsupported crate. Please contact the maintainer if you want to take over packaging and maintenance of this crate." long-description = "This is a placeholder for an unsupported crate. Please contact the maintainer if you want to take over packaging and maintenance of this crate."
maintainers = ["alejandro@mosteo.com"] maintainers = ["alejandro@mosteo.com"]
maintainers-logins = ["mosteo"] maintainers-logins = ["mosteo"]
licenses = [] licenses = []
tags = [] tags = []