Commit graph

181 commits

Author SHA1 Message Date
Noel Cower
43db1c25dc build-styles: Add support for Go modules.
Adds support for Go modules by detecting a go.mod file and, if
available, using it. In addition, to continue supporting vendoring (and
avoid the need for git on all module builds), if a package includes
a vendor directory, the module mode will switch to vendor mode if not
already set. This will use vendored source code for dependencies
instead of downloading that code again using the descriptions under
go.mod.

go_mod_mode=vendor also skips the go.sum check because nothing is
downloaded that isn't already verified, so this fixes packages with
vendored code that have checksum mismatches due to Go 1.11.4 module
checksum changes.

[ci skip]

Closes: #6036 [via git-merge-pr]
2019-01-02 20:10:56 -08:00
Cameron Nemo
ca98749ce7 Manual.md: pycompile_module is usable with files 2019-01-02 07:43:04 -05:00
maxice8
77c1e19d22 Manual.md: document nostrip_files= 2019-01-02 02:02:18 -05:00
maxice8
aa44d7b21b
Manual.md: document XBPS_CROSS_BASE 2018-12-27 21:08:51 -02:00
maxice8
40cc1e3439 Manual.md: document XBPS_WRAPPERDIR 2018-12-27 20:56:54 -02:00
maxice8
7f62c3570c Manual.md: document more paths for -devel 2018-12-05 09:00:05 -05:00
Andy Weidenbaum
afdfdf9991 build_style=perl6-dist: add 2018-11-26 04:11:50 -02:00
maxice8
1eb7fd1825 Manual.md: document metapackage license
This will raise eyebrowns of people and they will say:

"Why just not setting the license= field in the first place ?"
2018-11-18 15:54:07 -02:00
maxice8
f9156e822e Manual.md: use YYYY-MM-DD instead of DD-MM-YYYY when removing packages. 2018-11-17 01:43:50 -02:00
maxice8
3a063a381f Manual.md: update removal procedures 2018-11-16 20:19:46 -02:00
B. Wilson
3519c61856 Manual.md: Reference SPDX license identifiers 2018-11-02 22:34:25 -07:00
maxice8
03ea181231 build_style: Add gemspec build_style 2018-11-02 07:15:08 -03:00
maxice8
49e11e1ca5 build_style: Add gem build_style 2018-11-02 07:15:08 -03:00
maxice8
ac47bd4df3 Manual.md: mention we convert bzipped manpages. 2018-10-17 11:28:58 -03:00
Rasmus Thomsen
0318d0385a build-style/cargo.sh: add 2018-10-15 20:58:51 +02:00
Piotr
57b9af1d74 Manual.md: clarify not defined build_style 2018-09-29 20:21:21 +02:00
maxice8
aa4cd5a8af Manual.md: document xbps triggers.
[ci skip]
2018-09-22 15:27:57 -03:00
maxice8
1cb337fa20
Manual.md: Document a few good practices when removing a package. 2018-09-18 23:57:04 -03:00
maxice8
716406bd9d
Manual.md: document preserve variable
[ci skip]
2018-09-10 11:25:39 -03:00
maxice8
54443ba8f6
Manual.md: document system accounts with underscore requirement. 2018-09-06 21:18:29 -03:00
maxice8
20bce59ed3 Manual.md: make declaration of an example consistent.
-> Replace i.e with Example:
-> Replace Example with Example:
-> also add : to Example that are multiple words like
   'Example for qutebrowser:'

now all examples can be searched with Example.*:
2018-09-05 09:13:05 +02:00
maxice8
238583ce0b Manual.md: reword skiprdeps to be more like other variables that take a
list.
2018-09-04 23:40:23 -04:00
maxice8
ec1e707cb0
Manual.md: document perl_configure_dirs 2018-09-02 13:48:19 -03:00
maxice8
5364b6d261
Manual.md: document the tags variable.
[ci skip]
2018-08-27 18:52:58 -03:00
maxice8
e4b96f571f
Manual.md: fix missing backtick in register_shell. 2018-08-22 08:46:03 -03:00
maxice8
aef04e7239
Manual.md: document register_shell variable. 2018-08-21 23:35:48 -03:00
maxice8
f4dae33164
Manual.md: document checkdepends on #explain_depends 2018-08-21 20:37:47 -03:00
maxice8
4fe3e7c9c7
Manual.md: minor grammar fix overriden -> overridden 2018-08-20 21:28:27 -03:00
maxice8
3c86ef4abe Manual.md: document meson build system 2018-08-20 08:01:45 +02:00
maxice8
e52b319009
Manual.md: document dkms_modules variable
[ci skip]
2018-08-19 21:01:38 -03:00
maxice8
9ac0e2c87b
Manual.md: document Font packages and font_dirs variable
resolves void-linux/void-packages#1229

[ci skip]
2018-08-19 20:19:00 -03:00
maxice8
94bacea9e1
Manual.md: document how vman() deals with gzipped (.gz) manpages
[ci skip]
2018-08-12 04:21:46 -03:00
Daniel Lewan
bbf6cad158 change URLs to new Github organization
closes #140
2018-06-16 19:37:30 +02:00
Alessio Sergi
014cd960f8 xbps-src: search.cpan.org -> metacpan.org
See https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html.
2018-06-12 19:50:25 +02:00
maxice8
27c5d77aa5 Manual.md: make example templates more consistent with the common form.
- there is no space between the header and pkgname=
- pkgname= and version= shouldn't be quoted
- all shell wildcards must be quoted

[ci skip]
2018-05-17 14:28:01 +02:00
Duncaen
94ed33657b Revert "common/: add support for changelog field."
This reverts commit 8599efd9fd.
2018-05-04 16:46:46 +02:00
maxice8
daf68c6d59 rename vopt_onoff to vopt_bool which returns -D<prop>=true|false
This makes it more generic and allows us to use it freely between
cmake and meson build styles.
2018-05-04 10:56:26 +02:00
maxice8
8599efd9fd common/: add support for changelog field.
This commits allows ./xbps-src show to show the changelog field and for
changelog to be included with the -c/--changelog option via xbps-create.

Closes: #14102 [via git-merge-pr]
2018-05-03 22:58:27 -04:00
Michael Carlberg
d5c58a3c60 xbps-src: new vopt_onoff helper
CMake helper function used to set bool argument values

Usage example:

    configure_args+=" $(vopt_onoff logging WITH_LOGGING)"

    configure_args+=" -DWITH_LOGGING=OFF"
2018-05-03 01:26:32 -04:00
maxice8
c846470acf Manual.md: grammar fixes. 2018-04-26 11:09:33 +01:00
maxice8
7a7e83c578 Manual.md: document KDE_SITE. 2018-04-22 19:16:50 -04:00
Jürgen Buchmüller
3f2456473c
Manual.md: fix definition of skiprdeps
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-10 19:28:42 +02:00
Jürgen Buchmüller
4847e250c4
Manual.md: describe noverifyrdeps and skiprdeps
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-10 18:31:25 +02:00
Jürgen Buchmüller
c1fd6c389e hooks/do-fetch/00-distfiles.sh: contents checksum
Add support for contents checksums. This is meant to be used for tarballs
like the ones coming from https://*.googlesource.com/ which on every download
change their outer checksum due to being packaged with different date/time
stamps or similar.

If such a distfile still contains the same files as the author of a template
found, then the checksum of its contents can be specified by prepending a
commercial at (@) to the corresponding checksum="..." line.

Depending on the format of the distfile its entire contents will then be
piped into sha256sum and the resulting digest is verified against what
follows after the @.
2018-03-02 23:28:36 +01:00
Michael Aldridge
92d6e1a521 go build style: move GOPATH creation to do_configure() 2017-11-26 00:41:26 -08:00
Michael Gehring
7e9e76706f Manual.md: add make_check_{args,target} 2017-11-21 14:39:57 +01:00
yopito
f26e6d1025 Manual.md: no underscore or shell subst allowed in version 2017-09-24 15:57:32 +02:00
Enno Boland
86908c48e0 Manual.md: engrish splelling 2017-08-20 13:04:00 +02:00
Radagast
be41975480 Manual.md: Readability fix (#6897) 2017-06-29 21:03:19 -04:00
Dominic Monroe
36ac446b2a haskell-stack: Add support for stack.yaml in source 2017-06-26 23:21:09 -07:00