summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-04-02 13:47:35 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-05-14 00:49:53 +0200
commit7fdd59c58dc091ac0afcd2ab5c8d0dcf8eac1ca6 (patch)
tree0e82a72b2d78d4b6e859cd76f89ddae2a8cfad01 /dev-db
parentx11-misc/lightdm: migrate to glep-81, change use flag (diff)
downloadgentoo-7fdd59c58dc091ac0afcd2ab5c8d0dcf8eac1ca6.tar.gz
gentoo-7fdd59c58dc091ac0afcd2ab5c8d0dcf8eac1ca6.tar.bz2
gentoo-7fdd59c58dc091ac0afcd2ab5c8d0dcf8eac1ca6.zip
dev-db/cockroach: migrate to glep-81
Closes: https://bugs.gentoo.org/781272 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/24864 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/cockroach/cockroach-19.1.1-r1.ebuild (renamed from dev-db/cockroach/cockroach-19.1.1.ebuild)22
-rw-r--r--dev-db/cockroach/cockroach-2.1.5-r1.ebuild (renamed from dev-db/cockroach/cockroach-2.1.5.ebuild)22
2 files changed, 26 insertions, 18 deletions
diff --git a/dev-db/cockroach/cockroach-19.1.1.ebuild b/dev-db/cockroach/cockroach-19.1.1-r1.ebuild
index b4fd44218a0a..18d3f4b63528 100644
--- a/dev-db/cockroach/cockroach-19.1.1.ebuild
+++ b/dev-db/cockroach/cockroach-19.1.1-r1.ebuild
@@ -1,26 +1,32 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PV=v${PV}
CHECKREQS_MEMORY="2G"
-inherit check-reqs toolchain-funcs user
+inherit check-reqs toolchain-funcs
DESCRIPTION="open source database for building cloud services"
HOMEPAGE="https://www.cockroachlabs.com"
SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz"
+S="${WORKDIR}/cockroach-${MY_PV}"
LICENSE="Cockroach Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
-DEPEND=">=app-arch/xz-utils-5.2.3
- >=dev-lang/go-1.8.3
- >=dev-util/cmake-3.8.1"
+RDEPEND="
+ acct-group/cockroach
+ acct-user/cockroach
+"
-S="${WORKDIR}/cockroach-${MY_PV}"
+DEPEND="
+ ${RDEPEND}
+ >=app-arch/xz-utils-5.2.3
+ >=dev-lang/go-1.8.3
+ >=dev-util/cmake-3.8.1
+"
QA_EXECSTACK="usr/bin/cockroach"
@@ -35,8 +41,6 @@ pkg_pretend() {
pkg_setup() {
check-reqs_pkg_setup
- enewgroup cockroach
- enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach
}
src_compile() {
diff --git a/dev-db/cockroach/cockroach-2.1.5.ebuild b/dev-db/cockroach/cockroach-2.1.5-r1.ebuild
index b4fd44218a0a..18d3f4b63528 100644
--- a/dev-db/cockroach/cockroach-2.1.5.ebuild
+++ b/dev-db/cockroach/cockroach-2.1.5-r1.ebuild
@@ -1,26 +1,32 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PV=v${PV}
CHECKREQS_MEMORY="2G"
-inherit check-reqs toolchain-funcs user
+inherit check-reqs toolchain-funcs
DESCRIPTION="open source database for building cloud services"
HOMEPAGE="https://www.cockroachlabs.com"
SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz"
+S="${WORKDIR}/cockroach-${MY_PV}"
LICENSE="Cockroach Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
-DEPEND=">=app-arch/xz-utils-5.2.3
- >=dev-lang/go-1.8.3
- >=dev-util/cmake-3.8.1"
+RDEPEND="
+ acct-group/cockroach
+ acct-user/cockroach
+"
-S="${WORKDIR}/cockroach-${MY_PV}"
+DEPEND="
+ ${RDEPEND}
+ >=app-arch/xz-utils-5.2.3
+ >=dev-lang/go-1.8.3
+ >=dev-util/cmake-3.8.1
+"
QA_EXECSTACK="usr/bin/cockroach"
@@ -35,8 +41,6 @@ pkg_pretend() {
pkg_setup() {
check-reqs_pkg_setup
- enewgroup cockroach
- enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach
}
src_compile() {