virtual/cargo: initial version 1.27.1
authorDirkjan Ochtman <djc@gentoo.org>
Fri, 13 Jul 2018 20:16:44 +0000 (22:16 +0200)
committerDirkjan Ochtman <djc@gentoo.org>
Fri, 13 Jul 2018 20:16:44 +0000 (22:16 +0200)
This abstracts over the separately installed dev-util/cargo and the
cargo that can be installed as part of rust and rust-bin from
1.27.1 forward.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

virtual/cargo/cargo-1.27.1.ebuild [new file with mode: 0644]
virtual/cargo/metadata.xml [new file with mode: 0644]

diff --git a/virtual/cargo/cargo-1.27.1.ebuild b/virtual/cargo/cargo-1.27.1.ebuild
new file mode 100644 (file)
index 0000000..ddb3bfb
--- /dev/null
@@ -0,0 +1,19 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Package manager for Rust"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+BDEPEND=""
+RDEPEND="|| (
+                       =dev-lang/rust-${PV}*[cargo]
+                       =dev-lang/rust-bin-${PV}*[cargo]
+                       =dev-util/cargo-0.28.0*
+               )"
diff --git a/virtual/cargo/metadata.xml b/virtual/cargo/metadata.xml
new file mode 100644 (file)
index 0000000..85cf4eb
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>rust@gentoo.org</email>
+    <name>Rust Project</name>
+  </maintainer>
+</pkgmetadata>