freebsd-ports/Mk/Uses
Tobias Kortkamp bfd338293c
Mk/Uses/cargo.mk: Refactor MASTER_SITES and DISTFILES construction (D30099)
Split CARGO_CRATES into (index, crate, name, version) 4-tuples and
use them to construct MASTER_SITES and DISTFILES.  We can also match
crate name and versions more directly below.

As a bonus this is slightly faster and will flag a malformed
CARGO_CRATES earlier with a "wrong number of words" error.

Runtime of the following command was noticeably faster

$ <rust-ports /usr/bin/time xe -F make -C {} -V DISTFILES -V MASTER_SITES >/dev/null

Before:	56.99 real        50.05 user         6.44 sys
Now:	38.89 real        31.63 user         6.86 sys

PR:		255608
Exp-run by:	antoine
2021-05-11 19:29:28 +02:00
..
7z.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
ada.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
alias.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
apache.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
autoreconf.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
azurepy.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
bdb.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
bison.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
blaslapack.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
cabal.mk Uses/cabal.mk: Improve cabal-extract for USE_GITHUB/USE_GITLAB cases. 2021-04-29 08:39:22 +03:00
cargo.mk Mk/Uses/cargo.mk: Refactor MASTER_SITES and DISTFILES construction (D30099) 2021-05-11 19:29:28 +02:00
charsetfix.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
cmake.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
compiler.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
corosync.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
cpe.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
cran.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
desktop-file-utils.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
desthack.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
display.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
dos2unix.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
drupal.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
eigen.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
elixir.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
emacs.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
erlang.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
fakeroot.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
fam.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
firebird.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
fonts.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
fortran.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
fpc.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
fuse.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
gem.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
gettext-runtime.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
gettext-tools.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
gettext.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
ghostscript.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
gl.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
gmake.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
gnome.mk Uses/gnome: fix comments still stating at @exec/@unexec 2021-05-11 06:39:06 +02:00
gnustep.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
go.mk Mk/Uses/go.mk: Allow ports to have additional distfiles 2021-04-16 14:19:20 -07:00
gperf.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
grantlee.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
groff.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
gssapi.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
horde.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
iconv.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
imake.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
jpeg.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
kde.mk Update KDE Frameworks to 5.82.0 2021-05-11 19:25:29 +02:00
kmod.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
kodi.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
lazarus.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
lha.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
libarchive.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
libedit.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
libtool.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
linux.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
localbase.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
lua.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
lxqt.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
makeinfo.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
makeself.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
mate.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
meson.mk Mk/Uses/meson.mk: Do not force color output (D29353) 2021-04-20 08:57:35 +02:00
metaport.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
mono.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
motif.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
mpi.mk Mk/Uses/mpi.mk: fix CMAKE_ARGS when USES=cmake has arguments 2021-04-25 15:23:18 +02:00
mysql.mk Remove Percona Server for MySQL 5.5, it is EOL upstream 2021-04-11 23:42:42 +02:00
ncurses.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
ninja.mk Mk/Uses/ninja.mk: Add support for devel/samurai (D29353) 2021-04-20 08:57:34 +02:00
objc.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
openal.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
pathfix.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
pear.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
perl5.mk lang/perl5.34: Add new port at 5.34.0-RC1. 2021-05-06 15:21:48 +02:00
pgsql.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
php.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
pkgconfig.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
pyqt.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
python.mk *: Switch default version of python and python3 from 3.7 to 3.8 2021-04-25 20:48:44 +02:00
qca.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
qmail.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
qmake.mk Uses/qmake.mk: fix build WITH_DEBUG 2021-05-05 01:10:26 +02:00
qt-dist.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
qt.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
readline.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
samba.mk Mk: unregister expired Samba 4.11 2021-04-24 17:04:15 +02:00
scons.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
sdl.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
shared-mime-info.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
shebangfix.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
sqlite.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
ssl.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
tar.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
tcl.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
terminfo.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
tk.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
uidfix.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
uniquefiles.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
varnish.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
waf.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
webplugin.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
xfce.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
xorg-cat.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
xorg.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00
zip.mk framework: Remove $FreeBSD$ 2021-04-06 16:27:10 +02:00