diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-db/mongodb | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-db/mongodb')
-rw-r--r-- | dev-db/mongodb/Manifest | 15 | ||||
-rw-r--r-- | dev-db/mongodb/files/mongodb-4.2.0-fix-scons-third-party.patch | 11 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-3.6.16.ebuild (renamed from dev-db/mongodb/mongodb-3.6.8.ebuild) | 25 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-4.0.14.ebuild (renamed from dev-db/mongodb/mongodb-4.0.10.ebuild) | 16 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-4.2.1.ebuild | 4 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-4.2.2.ebuild (renamed from dev-db/mongodb/mongodb-4.2.0-r2.ebuild) | 19 |
6 files changed, 33 insertions, 57 deletions
diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest index a930a57c1ccb..58bc1af5dd09 100644 --- a/dev-db/mongodb/Manifest +++ b/dev-db/mongodb/Manifest @@ -2,7 +2,6 @@ AUX mongodb-3.6.1-fix-scons.patch 1207 BLAKE2B 3c47d72eb940d67f40e4a12becb6de469 AUX mongodb-3.6.1-no-compass.patch 2046 BLAKE2B e6b6977b69eb297c6a6340661f906e0206c2b68a1cebfd3c7ca01b27cc05562e0909531a2488159a54db32a05ec0cc4f81b4fe675db51bf3c30d66bc9d484c0b SHA512 5a7257a3670f40453c424ae2e6d2bbe0e3d1c795b57351c24a1b48ea4134146b08310d88a47cbb0c94a0a451a2c4a3c30fb10c44a1b9203681ee9cb5240db412 AUX mongodb-4.0.0-no-compass.patch 2270 BLAKE2B 66659a18d46755e6661b57e2ba020d7b967c455b0bfd5d198e0efd5bab1c0fdbb5def66b9e9fb54b34eb415e9b9231dcb6ba4b943d674e09685b47333af31d22 SHA512 e3b3adae4991e7687b191651f4c93471042bc8f56c5977743afec573fe026df3af1459b8bcbdb4f9995ecfbf83785ad56ccf46d6756429164b1f49524a36fed7 AUX mongodb-4.0.12-boost-1.71-cxxabi-include.patch 227 BLAKE2B 46a23c95581110282929f6a50f1bb9c2cb1bb8e3027f65a88246c9c16854c80bc809e7498ce5e28b7e9c73a21768f67724f1751f811cb7f787a10f9f6f7c6a85 SHA512 2e0fde98937f1cefe28dd5cb68f2b91910a09c014b0090fc7b742ac8a28863d5d9a50e961339374f14b95eaf1972dc02bb48d59daecdcd8c5d7acc1aed618fa5 -AUX mongodb-4.2.0-fix-scons-third-party.patch 470 BLAKE2B 64180666131eacb096e1de6491b09c3d26cc7591dd0dbb817b545e3dfdae27a7b7785f5150087ee8bc409ee8b98e973a247366c44756a66a853e8cfcd84f98d1 SHA512 05f9617470c104f634d1e25a40c51bc477ee4cf07449d24c433bc5f95a1d89047ce861fde811ef2e4ce5a5bd24c0b7a2b5ff208aa51dac1f829096c8704b3198 AUX mongodb-4.2.0-fix-scons.patch 1174 BLAKE2B 748de9efdb743c836ccb26239d4b3e73632f19846e2c765e5a9fb6fa6c0bcfaf6cc31a63ba0ce54edf5c8a9d0923efd31ddf81fbc7196386d827f59a50b0b352 SHA512 6f971e8b4140068402b5e8cc738fbff1b54645f97e2f463fec37b124c7b93b8302fae25f9ea1f7f3261c93270e662e4cd876db3f092111e3bde0fcbc3eea33c4 AUX mongodb.conf-r3 722 BLAKE2B c053bf101f5e3e38cc68f2bcbe7fb66ed9e55da9382d2412a497d68b478573390eddc5f284f76d56ca4792fe6241f6d1273a6585a98f96a1cb20530499a15904 SHA512 ef193bfed673477aa0e868114bd52be6675492c164f218c71ccd02c4a620b5c4799ea1d18df0c3f2b364027b9f25e60ac4475bb216b25e1dc10bfd00a9f5d45d AUX mongodb.confd-r3 473 BLAKE2B b9d812cfb424309e117cf5c43ba8ee7bd4dadac78d6ebd1b0d3c2cdd04d14b334c8f2e26ee24c5ede1a8fe6500bda1b39a5422a3bc1eb8a2c4a8dde038db7997 SHA512 8a90fb39ad16837458a2add25a9b9059e2b356794cfbf3cb35c9ecd6a584ee300c67b49b5261e062eaf7aac593588e2871e5cf76ab2287e58ea342436d0afe56 @@ -14,18 +13,18 @@ AUX mongos.confd-r3 470 BLAKE2B 9cf6f201d337430901d957a5a0811ff11ac2e81814aac212 AUX mongos.initd-r3 422 BLAKE2B 90872d0d8cdc5e33e3eebee848f58a2db0511d48b496ba9318117b74ad9265ead53a21b7d1790729a62d61839099bee315ace8ff3646c01e096a943c2251bf88 SHA512 bf5897614d59c6b4e72529b126408a62ea37d9e9368e5ff69c8fcf2bad3ec09065cff09467f82117a892c51090018706d2f38c03cb9a974a61a49bd9efa0f144 DIST mongodb-src-r3.6.13.tar.gz 40853787 BLAKE2B de9621de4f570d569df5cfe026ea5da24641c97f1ac9f3e58a0706b1d0bd74757390a075c95c6d3acd12f3c5c7bcbeb9302ac997248c54a5b7910b582debdc82 SHA512 eb84fb22ff871b5ec620d6fc29a6a66072211656e914630ad0f53e4fcad55aa40a76a0e68e68bdbe8ef061bea09ce6ad6aea5d8d865ea8a8fdca0ed829555fcd DIST mongodb-src-r3.6.14.tar.gz 40895581 BLAKE2B 3cfe2aedd11a67a01ddee9eba36d99bad5fe8c7891e953cbdae9200427638e1acc1555c8d39df0217a48a95428838d573c90381698361f954d9aab860449cfcd SHA512 2bdc0ee86625724f64b7af2962b19b13cefb21d58d45c7b22fe2e01bd021f2427236c279c89785ede7c6986742127160b032294fbb652c55ce42f8d941a18cfe -DIST mongodb-src-r3.6.8.tar.gz 40428295 BLAKE2B cc02f73cfb49fb38ccabaad5a02610ce73fc41895ce944e48669e254bcbc70c8872a1bd7f8e04371fae4fcd9af2466fd8550367dd1d1da5cee50b86fc5023bf2 SHA512 c981f3269be3bafb59aa89d36c39a801fd7007b60db6c09b4616a559aaf8e50b34cabbdac2b59f23552c0a5112913fba468f7e2ed9a5f4daa3702dcffdf34999 -DIST mongodb-src-r4.0.10.tar.gz 49870574 BLAKE2B 1babbfa1a6d8fae390ec37042feff896c402772e832cc5b0b82fc4d531a6487ac2bd8d407c37ca75a76d78bc91cc665bfc3b7b223e6ceaaea2d921b337ef4d19 SHA512 891bfdc0d415515d7aa36aeb0618055ac6815c7d704537b88293226cecc1b677134db621fd90dee3913f4ff8174a888bcf68adee0a243d0f55ef6c0033a4f4b9 +DIST mongodb-src-r3.6.16.tar.gz 40927975 BLAKE2B bcd129d43eea24da3afe69c887bcd22116e0eb7e1f3f274fb8f51260625d17607b0d1eb31fb23a4f97c88e2c86b3d7a880cb05b0e77385d115cf9486d66f1249 SHA512 eb00f3a612942ad5f947583e92fca5b877b40d75132fa5a97989d81dd55925f5a112400eec8a43b2043bb0236b3228a670a888c41a374b0a60e8a3c26076b1e8 DIST mongodb-src-r4.0.12.tar.gz 49937644 BLAKE2B 81044a6d68be6420d30fb2d7386ff29871a696cad94ce5977c1aba60c2ce80e18ccb86492c1947a359ef124332ea82ac3cb0fb73a68f51904a008fdf911aa055 SHA512 802eaf57d56c5e8e217344f10104a201acb6f5abef0065fc1bb8e6ceef13fe489b7ae46ed0d55b5bad50fe3579860b1c1471d224b51b0f15f968278cb5f6a47a DIST mongodb-src-r4.0.13.tar.gz 50006727 BLAKE2B bf47bd32cf50c24084091a1baa811690c50586352307deb80876bb1bad539e90de77f85fc591960d6ae871e0a6f22d5d2f05bb340218784b642e3529d0c64bb6 SHA512 2a74ac8648cde6d9b5aa33da195b22eca926ef5ff85d4140e0a1ba978e3d13d410f4d7d7e102e35f994ef3b848333a4ef4bacfec9e2ac1b1288cbee885875ef7 -DIST mongodb-src-r4.2.0.tar.gz 60781115 BLAKE2B 75531f69647c84f71127d4cdccf13bc21e50586240c767b4c1aa1efbf56cf008bf4f32b3a2011120ad9099da0f97be934375b8dd3d012670034327175c454f0e SHA512 be2f4e00364ac49b1a0490fa859640680a4d10d861252d200bd3db535c770a3b97cee9de6d2b0b6b3622502d055ba92b6c1d88cb1134d251aa2cf50a8951b64c +DIST mongodb-src-r4.0.14.tar.gz 50088053 BLAKE2B af7dc930dd7a469c06cf26201e3329967a664585b9964732c57ed283f323d4dc7fde3ea62ad4f1e8ca763360aeb614c2f77f98867031083d83808acd19e97539 SHA512 3d5d73a816a00887a8851e2e79919b2646f6cc34fd9b8acb255a52e2e71407a4728a80a81112bdbe0a92ba9f71e856ac7a2229741273e8485806cda2cb018d8d DIST mongodb-src-r4.2.1.tar.gz 60922510 BLAKE2B b06141cf0a8d256fc24e64c7115093009f42a97c74d270997ad4a70fb040199db05c5083cf1639283cc253264fbeb975d7efe3a41227d75146d7aa2e2fb9fa12 SHA512 6057f68ebeb2d5f74e70639fcc08aecfb112d386e3d016e18dfb2413319abf46249a0f5ffcfb74be9264a2ef34f45dd96f9774d86b1ec7e7213276f1c84f3106 +DIST mongodb-src-r4.2.2.tar.gz 60991680 BLAKE2B afd31a60929ebfe9c02abee92fd4814c178b03e4e88e10069003fd3e1813481e9cc967e8b4d15b87b0fe703df7fa42a70f60db33cf84ecbf1decfd6657e28ba1 SHA512 30f1e20fbe45ca136869f3fd7e54f1cd65d1544c0693b9945a0036a50257cfc12915a17bf79267500496b5acf3cfa24f406114ea7180b7abee89cd62de5eec80 EBUILD mongodb-3.6.13.ebuild 4257 BLAKE2B 0643b2cca9c231b3b8093e1cc4d0e4b7ff2bd6504251f8c7dd706bd15f59548bb4f8462e5547b3e97da5aed385f0179807cef36060211bcf069feec4b251425e SHA512 edbc5d01e606bd324ea505e02d8216b68250bab78dc26b932203df625621d9f27847b8fefc5e0bf7256be67ccde8fe0a56d28ed59b5e0d79e3b68d454b454cf4 EBUILD mongodb-3.6.14.ebuild 4243 BLAKE2B 8cb508eb72021f1c96104f55df266505b9b77087ca130645c991e1594427f41d2b20b9843fe8c8de7f9469b5d31a46556b546723bc6d653ed897b43255543fb8 SHA512 72997ea27f0cfae8761150a6416465868b27544bd341e01adf76f53f1d3f79139196581c0034740aef49aa9172bcb582f4b390fb1413e2f5a42b9c91aea07f2d -EBUILD mongodb-3.6.8.ebuild 4224 BLAKE2B abccde393e61abb1596f7895f4d9f067f3664a0ac4165c403c5cf23b5774b2eb3b3ad1e41c6a91bf7c2f9fa82726b6867b58f0b1ce0b845c1b8e70697d12e131 SHA512 0a2b9c7a39d90d314adf33b10127af1a265768e9c8c5d22d286e6e2d64b6d05c20b41de364b6f1305b3fba32bec581c2a8c8b54e352186981b23fe7676917634 -EBUILD mongodb-4.0.10.ebuild 4258 BLAKE2B b7b8453cd23ed9932f98124b337c269285d9d8f2623cab5bf02ceb85d27c253841d1868bdef693809fe8fb6b206fb37bf60349bad0cd5fa5bfbcb101b825ba01 SHA512 1dc1ef0c3869f50fe329705ad42403a0fad9805a7bdf28556ad878614be7214b2f6ffe6a18edbbb6b52a7934990d41a0a43c729355a867953e5cc36030289645 +EBUILD mongodb-3.6.16.ebuild 4243 BLAKE2B 8cb508eb72021f1c96104f55df266505b9b77087ca130645c991e1594427f41d2b20b9843fe8c8de7f9469b5d31a46556b546723bc6d653ed897b43255543fb8 SHA512 72997ea27f0cfae8761150a6416465868b27544bd341e01adf76f53f1d3f79139196581c0034740aef49aa9172bcb582f4b390fb1413e2f5a42b9c91aea07f2d EBUILD mongodb-4.0.12.ebuild 4318 BLAKE2B be6dcb75ecb3654b980db1b893746ab6a33e537a9dac06b42e8f2defbd75aaab3b7d32b63f67cb97b886f79c74363199651377580c7b76160e2ecba993ab78fa SHA512 bf45a240826725c47dbd8475c01d24da966c44027cadb73b28b2fa536f45d9dfb714a50393b09040dc928f0c676b42a89d3ebace2d63e0a78443d434eb43b235 EBUILD mongodb-4.0.13.ebuild 4244 BLAKE2B e045a5c70486076096254161c8633d9a144bee7088991b85d3b26d5264fd553f70b0b14df841b618159ec3074a845866756de4a9bd69acbe829e8889b83d5d36 SHA512 820958bad65597051874f2519b52a15f4fe52f3921074137d1642cc9f310e6508588c7b6c2e34eb1e56cf463a93fd4c36d2c3bf9dbdf68dddb7399029a8db1ca -EBUILD mongodb-4.2.0-r2.ebuild 4360 BLAKE2B 31aa4b65fb52517aa001068ed6c6d2977c84d25e6bc800009a358b587e2ae7bcafb08f609123f658116a870b9903235e3d6b415715d7517a60296ef5e337aff5 SHA512 c2c9edb996a032ea306dbd1579fd0f2e66e404f9c10a394157c80e88a51c0ccb89f319fe1eb558ac42b35416a8e91da13b0763f39441d4668cc5f57ea8a23107 -EBUILD mongodb-4.2.1.ebuild 4298 BLAKE2B 45ff322e5a054613fcf98a7e2409bf4732e10677efd108b0d794f2e3e525f96a16b2214899bece93ea4f61f0d97ccd235130641028b9f8c3ee0110e92b8fec66 SHA512 83bc5133429edde8f132be09b240a01728c7f29ce9f30e1b26bc64f2da9703ad8bc42a082e9eafb1b5ba0fb2c1dbab3e4322a9fb4a0a5ab1c5518a0c9cc58594 +EBUILD mongodb-4.0.14.ebuild 4244 BLAKE2B e045a5c70486076096254161c8633d9a144bee7088991b85d3b26d5264fd553f70b0b14df841b618159ec3074a845866756de4a9bd69acbe829e8889b83d5d36 SHA512 820958bad65597051874f2519b52a15f4fe52f3921074137d1642cc9f310e6508588c7b6c2e34eb1e56cf463a93fd4c36d2c3bf9dbdf68dddb7399029a8db1ca +EBUILD mongodb-4.2.1.ebuild 4296 BLAKE2B fa701c16589de132c1cc81be3e81306cbea049a8523aba4f0bb1da0a84ecc00160e69e00682bb76647a0c295482a3943eb98d3b6cf640d40c003ebbe1e38562d SHA512 7e809ea122ed95f7bfa02dba005ee28aced39238affe936061797575a62f96cc46d3d5b2ef54429978d96e2d29914776beddde0d59f937dca9484c33a3334cf2 +EBUILD mongodb-4.2.2.ebuild 4296 BLAKE2B fa701c16589de132c1cc81be3e81306cbea049a8523aba4f0bb1da0a84ecc00160e69e00682bb76647a0c295482a3943eb98d3b6cf640d40c003ebbe1e38562d SHA512 7e809ea122ed95f7bfa02dba005ee28aced39238affe936061797575a62f96cc46d3d5b2ef54429978d96e2d29914776beddde0d59f937dca9484c33a3334cf2 MISC metadata.xml 901 BLAKE2B f7fde58679ba05518634b82bf5fcc371897165364fe5b023a2ec161790c869de82b4a3dd769d5e1bb450f99679869b60bb1e35beb8d41c54d3448dfca580a7ae SHA512 48f133d396aa31b992bac5f947e5a262b2d07a1016c6d49fa3c86dabb85981edfa332abb867413826762d88051ff3981cc77c2ec92e992d7a231c3b542336e36 diff --git a/dev-db/mongodb/files/mongodb-4.2.0-fix-scons-third-party.patch b/dev-db/mongodb/files/mongodb-4.2.0-fix-scons-third-party.patch deleted file mode 100644 index 6afa0d75caf1..000000000000 --- a/dev-db/mongodb/files/mongodb-4.2.0-fix-scons-third-party.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/third_party/SConscript 2019-09-22 14:31:48.847382840 +0200 -+++ b/src/third_party/SConscript 2019-09-22 14:32:56.858997243 +0200 -@@ -188,7 +188,7 @@ - libraries = thisEnv.Flatten([libraries]) - parts = thisEnv.Flatten([parts]) - for lib in libraries: -- mods = thirdPartyEnvironmentModifications[lib] -+ mods = thirdPartyEnvironmentModifications.get(lib, {}) - if not parts: - thisEnv.PrependUnique(**mods) - else: diff --git a/dev-db/mongodb/mongodb-3.6.8.ebuild b/dev-db/mongodb/mongodb-3.6.16.ebuild index e2c2033998d7..346c4039a335 100644 --- a/dev-db/mongodb/mongodb-3.6.8.ebuild +++ b/dev-db/mongodb/mongodb-3.6.16.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python2_7 ) @@ -10,7 +10,7 @@ CHECKREQS_DISK_BUILD="2400M" CHECKREQS_DISK_USR="512M" CHECKREQS_MEMORY="1024M" -inherit check-reqs eapi7-ver flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs user +inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs MY_P=${PN}-src-r${PV/_rc/-rc} @@ -18,13 +18,15 @@ DESCRIPTION="A high-performance, open source, schema-free document-oriented data HOMEPAGE="https://www.mongodb.com" SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz" -LICENSE="AGPL-3 Apache-2.0" +LICENSE="Apache-2.0 SSPL-1" SLOT="0" -KEYWORDS="amd64" -IUSE="debug kerberos libressl mms-agent ssl test +tools" +KEYWORDS="~amd64" +IUSE="debug kerberos libressl lto mms-agent ssl test +tools" RESTRICT="!test? ( test )" -RDEPEND=">=app-arch/snappy-1.1.3 +RDEPEND="acct-group/mongodb + acct-user/mongodb + >=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.5.3:= >=dev-libs/boost-1.60:=[threads(+)] >=dev-libs/libpcre-8.41[cxx] @@ -55,9 +57,10 @@ PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" PATCHES=( "${FILESDIR}/${PN}-3.6.1-fix-scons.patch" "${FILESDIR}/${PN}-3.6.1-no-compass.patch" + "${FILESDIR}/${PN}-4.0.12-boost-1.71-cxxabi-include.patch" ) -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" pkg_pretend() { if [[ -n ${REPLACING_VERSIONS} ]]; then @@ -71,13 +74,6 @@ pkg_pretend() { fi } -pkg_setup() { - enewgroup mongodb - enewuser mongodb -1 -1 /var/lib/${PN} mongodb - - python-any-r1_pkg_setup -} - src_prepare() { default @@ -107,6 +103,7 @@ src_configure() { use debug && scons_opts+=( --dbg=on ) use kerberos && scons_opts+=( --use-sasl-client ) + use lto && scons_opts+=( --lto=on ) use ssl && scons_opts+=( --ssl ) # respect mongoDB upstream's basic recommendations diff --git a/dev-db/mongodb/mongodb-4.0.10.ebuild b/dev-db/mongodb/mongodb-4.0.14.ebuild index 5a035ec23440..ef4bca699aab 100644 --- a/dev-db/mongodb/mongodb-4.0.10.ebuild +++ b/dev-db/mongodb/mongodb-4.0.14.ebuild @@ -10,7 +10,7 @@ CHECKREQS_DISK_BUILD="2400M" CHECKREQS_DISK_USR="512M" CHECKREQS_MEMORY="1024M" -inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs user +inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs MY_P=${PN}-src-r${PV/_rc/-rc} @@ -20,11 +20,13 @@ SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz" LICENSE="Apache-2.0 SSPL-1" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="~amd64" IUSE="debug kerberos libressl lto mms-agent ssl test +tools" RESTRICT="!test? ( test )" -RDEPEND=">=app-arch/snappy-1.1.3 +RDEPEND="acct-group/mongodb + acct-user/mongodb + >=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.5.3:= >=dev-libs/boost-1.60:=[threads(+)] >=dev-libs/libpcre-8.41[cxx] @@ -55,6 +57,7 @@ PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" PATCHES=( "${FILESDIR}/${PN}-3.6.1-fix-scons.patch" "${FILESDIR}/${PN}-4.0.0-no-compass.patch" + "${FILESDIR}/${PN}-4.0.12-boost-1.71-cxxabi-include.patch" ) S="${WORKDIR}/${MY_P}" @@ -71,13 +74,6 @@ pkg_pretend() { fi } -pkg_setup() { - enewgroup mongodb - enewuser mongodb -1 -1 /var/lib/${PN} mongodb - - python-any-r1_pkg_setup -} - src_prepare() { default diff --git a/dev-db/mongodb/mongodb-4.2.1.ebuild b/dev-db/mongodb/mongodb-4.2.1.ebuild index 42fec3063700..d566c1d609b2 100644 --- a/dev-db/mongodb/mongodb-4.2.1.ebuild +++ b/dev-db/mongodb/mongodb-4.2.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) SCONS_MIN_VERSION="2.5.0" CHECKREQS_DISK_BUILD="2400M" diff --git a/dev-db/mongodb/mongodb-4.2.0-r2.ebuild b/dev-db/mongodb/mongodb-4.2.2.ebuild index bbb765a7566c..d566c1d609b2 100644 --- a/dev-db/mongodb/mongodb-4.2.0-r2.ebuild +++ b/dev-db/mongodb/mongodb-4.2.2.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) SCONS_MIN_VERSION="2.5.0" CHECKREQS_DISK_BUILD="2400M" CHECKREQS_DISK_USR="512M" CHECKREQS_MEMORY="1024M" -inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs user +inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs MY_P=${PN}-src-r${PV/_rc/-rc} @@ -24,7 +24,9 @@ KEYWORDS="~amd64" IUSE="debug kerberos libressl lto ssl test +tools" RESTRICT="!test? ( test )" -RDEPEND=">=app-arch/snappy-1.1.3 +RDEPEND="acct-group/mongodb + acct-user/mongodb + >=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.6.2:= >=dev-libs/boost-1.70:=[threads(+)] >=dev-libs/libpcre-8.42[cxx] @@ -55,7 +57,6 @@ PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" PATCHES=( "${FILESDIR}/${PN}-4.2.0-fix-scons.patch" - "${FILESDIR}/${PN}-4.2.0-fix-scons-third-party.patch" "${FILESDIR}/${PN}-4.0.0-no-compass.patch" ) @@ -73,13 +74,6 @@ pkg_pretend() { fi } -pkg_setup() { - enewgroup mongodb - enewuser mongodb -1 -1 /var/lib/${PN} mongodb - - python-any-r1_pkg_setup -} - src_prepare() { default @@ -108,6 +102,7 @@ src_configure() { --use-system-zstd ) + use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300 use debug && scons_opts+=( --dbg=on ) use kerberos && scons_opts+=( --use-sasl-client ) use lto && scons_opts+=( --lto=on ) |