svn commit: r497901 - in head/devel: rust-bindgen rust-cbindgen

Jan Beich jbeich at FreeBSD.org
Fri Apr 5 03:06:06 UTC 2019


Author: jbeich
Date: Fri Apr  5 03:06:04 2019
New Revision: 497901
URL: https://svnweb.freebsd.org/changeset/ports/497901

Log:
  devel/rust-*bindgen: switch to crates.io for main distfile
  
  Upstream is sloppy when tagging releases. Git revision can still be
  found in WRKSRC/.cargo_vcs_info.json.

Modified:
  head/devel/rust-bindgen/Makefile   (contents, props changed)
  head/devel/rust-bindgen/distinfo   (contents, props changed)
  head/devel/rust-cbindgen/Makefile   (contents, props changed)
  head/devel/rust-cbindgen/distinfo   (contents, props changed)

Modified: head/devel/rust-bindgen/Makefile
==============================================================================
--- head/devel/rust-bindgen/Makefile	Fri Apr  5 02:40:17 2019	(r497900)
+++ head/devel/rust-bindgen/Makefile	Fri Apr  5 03:06:04 2019	(r497901)
@@ -1,9 +1,12 @@
 # $FreeBSD$
 
-PORTNAME=	rust-bindgen
-DISTVERSIONPREFIX=	v
+PORTNAME=	bindgen
 DISTVERSION=	0.49.0
 CATEGORIES=	devel
+MASTER_SITES=	CRATESIO
+PKGNAMEPREFIX=	rust-
+# XXX Teach USES=cargo to have proper default
+DISTFILES=	${CARGO_DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	gecko at FreeBSD.org
 COMMENT=	Generate Rust bindings from C (and some C++) code
@@ -14,8 +17,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
 
 USES=		cargo
-USE_GITHUB=	yes
-GH_ACCOUNT=	rust-lang
 PLIST_FILES=	bin/bindgen
 
 CARGO_CRATES=	aho-corasick-0.6.8 \

Modified: head/devel/rust-bindgen/distinfo
==============================================================================
--- head/devel/rust-bindgen/distinfo	Fri Apr  5 02:40:17 2019	(r497900)
+++ head/devel/rust-bindgen/distinfo	Fri Apr  5 03:06:04 2019	(r497901)
@@ -1,4 +1,6 @@
 TIMESTAMP = 1553652111
+SHA256 (rust/crates/bindgen-0.49.0.tar.gz) = 33e1b67a27bca31fd12a683b2a3618e275311117f48cfcc892e18403ff889026
+SIZE (rust/crates/bindgen-0.49.0.tar.gz) = 179404
 SHA256 (rust/crates/aho-corasick-0.6.8.tar.gz) = 68f56c7353e5a9547cbd76ed90f7bb5ffc3ba09d4ea9bd1d8c06c8b1142eeb5a
 SIZE (rust/crates/aho-corasick-0.6.8.tar.gz) = 26786
 SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b
@@ -103,5 +105,3 @@ SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0
 SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
 SHA256 (rust/crates/wincolor-1.0.1.tar.gz) = 561ed901ae465d6185fa7864d63fbd5720d0ef718366c9a4dc83cf6170d7e9ba
 SIZE (rust/crates/wincolor-1.0.1.tar.gz) = 4737
-SHA256 (rust-lang-rust-bindgen-v0.49.0_GH0.tar.gz) = c3a41e2dbe8b593ba6d6a8b2b9f764b60cadca3b34d9e1fb7078e072c3c6ea31
-SIZE (rust-lang-rust-bindgen-v0.49.0_GH0.tar.gz) = 2186232

Modified: head/devel/rust-cbindgen/Makefile
==============================================================================
--- head/devel/rust-cbindgen/Makefile	Fri Apr  5 02:40:17 2019	(r497900)
+++ head/devel/rust-cbindgen/Makefile	Fri Apr  5 03:06:04 2019	(r497901)
@@ -1,10 +1,12 @@
 # $FreeBSD$
 
 PORTNAME=	cbindgen
-DISTVERSIONPREFIX=	v
 DISTVERSION=	0.8.2
 CATEGORIES=	devel
+MASTER_SITES=	CRATESIO
 PKGNAMEPREFIX=	rust-
+# XXX Teach USES=cargo to have proper default
+DISTFILES=	${CARGO_DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	gecko at FreeBSD.org
 COMMENT=	Generate C bindings from Rust code
@@ -14,8 +16,6 @@ LICENSE=	MPL20
 RUN_DEPENDS=	cargo:lang/${RUST_DEFAULT}
 
 USES=		cargo
-USE_GITHUB=	yes
-GH_ACCOUNT=	eqrion
 PLIST_FILES=	bin/cbindgen
 
 CARGO_CRATES=	ansi_term-0.11.0 \

Modified: head/devel/rust-cbindgen/distinfo
==============================================================================
--- head/devel/rust-cbindgen/distinfo	Fri Apr  5 02:40:17 2019	(r497900)
+++ head/devel/rust-cbindgen/distinfo	Fri Apr  5 03:06:04 2019	(r497901)
@@ -1,4 +1,6 @@
 TIMESTAMP = 1551903339
+SHA256 (rust/crates/cbindgen-0.8.2.tar.gz) = f61c5411fe3ac196fae7ea397dd13959b1323edda046eec50d648a8e92015a53
+SIZE (rust/crates/cbindgen-0.8.2.tar.gz) = 98747
 SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b
 SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087
 SHA256 (rust/crates/atty-0.2.11.tar.gz) = 9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652
@@ -89,5 +91,3 @@ SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.t
 SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
 SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
 SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
-SHA256 (eqrion-cbindgen-v0.8.2_GH0.tar.gz) = aa9b458c0d3e638a3831ec1e3a23570c15bd45cca5502b12a68f1d6a2d7f2db1
-SIZE (eqrion-cbindgen-v0.8.2_GH0.tar.gz) = 106064


More information about the svn-ports-head mailing list