commit: 8b5716b329f2cfe26f92f48a4b361ce7289c1979 Author: Theo Anderson <telans <AT> posteo <DOT> de> AuthorDate: Wed Dec 9 11:34:13 2020 +0000 Commit: Theo Anderson <telans <AT> posteo <DOT> de> CommitDate: Wed Dec 9 11:34:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8b5716b3
sys-block/systemd-swap: bump to 4.4.0; add 9999 Closes: https://github.com/gentoo/guru/pull/21 Closes: https://github.com/gentoo/guru/issues/20 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans <AT> posteo.de> profiles/package.mask | 4 +++ sys-block/systemd-swap/Manifest | 1 + sys-block/systemd-swap/systemd-swap-4.4.0.ebuild | 35 ++++++++++++++++++++++++ sys-block/systemd-swap/systemd-swap-9999.ebuild | 35 ++++++++++++++++++++++++ 4 files changed, 75 insertions(+) diff --git a/profiles/package.mask b/profiles/package.mask index 57b1bacb..c2fb75bc 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -1,3 +1,7 @@ +# Theo Anderson <tel...@posteo.de> (2020-12-06) +# SELinux profiles do not support systemd +>=sys-block/systemd-swap-4.4.0 + # Huang Rui <vows...@gmail.com> (2020-04-27) # Theo Anderson <tel...@posteo.de> (2020-12-06) # All these ebuilds require slotted Lua, which is still masked. diff --git a/sys-block/systemd-swap/Manifest b/sys-block/systemd-swap/Manifest index ef74f9f8..3a60e615 100644 --- a/sys-block/systemd-swap/Manifest +++ b/sys-block/systemd-swap/Manifest @@ -1 +1,2 @@ DIST systemd-swap-4.0.1.tar.gz 20349 BLAKE2B 1e4e83b89ea5a0bd3195db951477920cdb185d4f44b6b7bfcc06a9b4bd6086e4c427b34de9a584a58a5a424c21ee9e4c25b9485332ef5811f7ee5db6c02c904c SHA512 c0ba9fa5a3d456376679fe8383550ae0fb26126d8b6c04d2d7d782911709e4c96c42b5a4db3d23b7e921881950d06cc81b60514055b27134106815595da97020 +DIST systemd-swap-4.4.0.tar.gz 29066 BLAKE2B 7278b0f5fac52039c91e901f29d72275e5ce4579001926f3d105c3f4bad026d2bcd21106d4006e9e971f92ecd66b81716b8e92f291230776de78e8fcd2580252 SHA512 39cf297d0d82f4d5fbae64f323bda2c286dd24665321892f068dc5bceea4ea5ddcacdcef14576cab869edbed7d258de759baec36535403051bb2b925406db0b3 diff --git a/sys-block/systemd-swap/systemd-swap-4.4.0.ebuild b/sys-block/systemd-swap/systemd-swap-4.4.0.ebuild new file mode 100644 index 00000000..e8951d7c --- /dev/null +++ b/sys-block/systemd-swap/systemd-swap-4.4.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CONFIG_CHECK="~ZRAM ~ZSWAP" +PYTHON_COMPAT=( python3_{7..8} ) + +inherit linux-info python-any-r1 + +DESCRIPTION="Script for creating swap space from zram swaps, swap files and swap partitions." +HOMEPAGE="https://github.com/Nefelim4ag/systemd-swap/" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Nefelim4ag/${PN}.git" +else + SRC_URI="https://github.com/Nefelim4ag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + $(python_gen_any_dep ' + dev-python/python-systemd[${PYTHON_USEDEP}] + dev-python/sysv_ipc[${PYTHON_USEDEP}] + ') +" + +src_install() { + default + keepdir /var/lib/systemd-swap +} diff --git a/sys-block/systemd-swap/systemd-swap-9999.ebuild b/sys-block/systemd-swap/systemd-swap-9999.ebuild new file mode 100644 index 00000000..e8951d7c --- /dev/null +++ b/sys-block/systemd-swap/systemd-swap-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CONFIG_CHECK="~ZRAM ~ZSWAP" +PYTHON_COMPAT=( python3_{7..8} ) + +inherit linux-info python-any-r1 + +DESCRIPTION="Script for creating swap space from zram swaps, swap files and swap partitions." +HOMEPAGE="https://github.com/Nefelim4ag/systemd-swap/" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Nefelim4ag/${PN}.git" +else + SRC_URI="https://github.com/Nefelim4ag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + $(python_gen_any_dep ' + dev-python/python-systemd[${PYTHON_USEDEP}] + dev-python/sysv_ipc[${PYTHON_USEDEP}] + ') +" + +src_install() { + default + keepdir /var/lib/systemd-swap +}