Merge updates from master

This commit is contained in:
Repository mirror & CI
2020-04-07 13:04:56 +00:00
7 changed files with 122 additions and 3 deletions

View File

@@ -1 +1 @@
DIST tekore-1.5.0.tar.gz 186916 BLAKE2B 014e76afb5b12b6302a8956fee0fa1e80adc76480fd40c730ada00f549fc508361cde9b16e60775661b31147337da91bc0aa636d57b86fa10dfe5f4873fd20f7 SHA512 d0d708d68c931c7bf1586a36a00ff6621d0fd506d63dd45f0b39a1c529a93d627bb493cc3eb184f6044fd8f03becdee077ea768e5a941b322ab8c53efeae2658
DIST tekore-1.6.0.tar.gz 191825 BLAKE2B 6122ee7fa9b7f0380e18457168aeea2405036cd11a6be4369ce6e343e8ddc97b9b7ddf4cdd3879eaeee503a833e2fa08e459dd6f794143ca7e59109848fad2f9 SHA512 01190393c7762056095f30c17245620c732241b835787b3ffddbfe2dfe3025be813b35fe64cf0289bcd2a9cb6ac5d3d537b55eb16449991bc055331dd3fe8b7b

View File

@@ -16,12 +16,13 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
# tests fail with py3_6
# tests fail with py3_6: no module named run
RESTRICT="python_targets_python3_6? ( test )"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
~dev-python/httpx-0.11.1[${PYTHON_USEDEP}]
>=dev-python/httpx-0.11.1[${PYTHON_USEDEP}]
<dev-python/httpx-0.13[${PYTHON_USEDEP}]
media-sound/spotify
$(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
"

View File

@@ -0,0 +1 @@
DIST eiwd-1.6-1.tar.xz 940492 BLAKE2B ba5256396510f6d092516ec210b7d274d7e984a1c7bf9f7ed5a8e1b7f0939c233d8a7e0d934f068c5bda5c7f54425134dca972ff1845396e7ed35298139e2923 SHA512 7f0e8522b01c455f16f43682b1f8b76ef15587f53cf4f6976870d9797e1d8f40f5c8146d23b277a3d555594ab534b832a837190734840429f58acce27e16edef

View File

@@ -0,0 +1,43 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
MY_PV="$(ver_rs 2 '-')"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="iwd without dbus"
HOMEPAGE="https://github.com/dylanaraps/eiwd"
SRC_URI="https://github.com/dylanaraps/eiwd/releases/download/${MY_PV}/${MY_P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+system-ell"
COMMON_DEPEND="system-ell? ( ~dev-libs/ell-0.30 )"
BDEPEND="virtual/pkgconfig"
RDEPEND="${COMMON_DEPEND}
!net-wireless/iwd
net-wireless/wireless-regdb"
DEPEND="${COMMON_DEPEND}"
S="${WORKDIR}/${MY_P}"
src_configure() {
append-cflags "-fsigned-char"
local myeconfargs=(
--sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
--disable-dbus
$(use_enable system-ell external-ell)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
keepdir /var/lib/iwd
newinitd "${FILESDIR}/iwd.initd" iwd
}

View File

@@ -0,0 +1,48 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools flag-o-matic git-r3
MY_PV="$(ver_rs 2 '-')"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="iwd without dbus"
HOMEPAGE="https://github.com/dylanaraps/eiwd"
EGIT_REPO_URI="https://github.com/dylanaraps/eiwd.git"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE="+system-ell"
COMMON_DEPEND="system-ell? ( ~dev-libs/ell-0.30 )"
BDEPEND="virtual/pkgconfig"
RDEPEND="${COMMON_DEPEND}
!net-wireless/iwd
net-wireless/wireless-regdb"
DEPEND="${COMMON_DEPEND}"
S="${WORKDIR}/${MY_P}"
src_prepare() {
default
eautoreconf
}
src_configure() {
append-cflags "-fsigned-char"
local myeconfargs=(
--sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
--disable-dbus
$(use_enable system-ell external-ell)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
keepdir /var/lib/iwd
newinitd "${FILESDIR}/iwd.initd" iwd
}

View File

@@ -0,0 +1,13 @@
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command="/usr/libexec/iwd"
pidfile="/run/iwd.pid"
command_background="yes"
depend() {
after bootmisc modules
before dns dhcpcd net
keyword -shutdown
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">dylanaraps/eiwd</remote-id>
</upstream>
<use>
<flag name="system-ell">
Use the system-wide <pkg>dev-libs/ell</pkg>instead of bundled.
</flag>
</use>
</pkgmetadata>