summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2018-07-13 22:16:44 +0200
committerDirkjan Ochtman <djc@gentoo.org>2018-07-13 22:16:44 +0200
commite42627cc9349699282c54c7c2ddd35e84cce00d1 (patch)
treeced3f3ece59a4ed8b9a672f55cf267aca58f1654 /virtual/cargo
parentdev-lang/rust: add USE flags to install cargo, rls and rustfmt (diff)
downloadgentoo-e42627cc9349699282c54c7c2ddd35e84cce00d1.tar.gz
gentoo-e42627cc9349699282c54c7c2ddd35e84cce00d1.tar.bz2
gentoo-e42627cc9349699282c54c7c2ddd35e84cce00d1.zip
virtual/cargo: initial version 1.27.1
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
Diffstat (limited to 'virtual/cargo')
-rw-r--r--virtual/cargo/cargo-1.27.1.ebuild19
-rw-r--r--virtual/cargo/metadata.xml8
2 files changed, 27 insertions, 0 deletions
diff --git a/virtual/cargo/cargo-1.27.1.ebuild b/virtual/cargo/cargo-1.27.1.ebuild
new file mode 100644
index 000000000000..ddb3bfb6cf14
--- /dev/null
+++ b/virtual/cargo/cargo-1.27.1.ebuild
@@ -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
index 000000000000..85cf4eb92057
--- /dev/null
+++ b/virtual/cargo/metadata.xml
@@ -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>