aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2018-01-23 22:05:54 +0000
committerPaul Healy <lmiphay@gmail.com>2018-01-23 22:05:54 +0000
commitde91bd3b25edf18ba566aa9e318ab921f7a49090 (patch)
tree0de0bae5f200d324fc8377f9f48cacab7eab9f60
parentadd deps on virtual/logger (diff)
downloadlmiphay-de91bd3b25edf18ba566aa9e318ab921f7a49090.tar.gz
lmiphay-de91bd3b25edf18ba566aa9e318ab921f7a49090.tar.bz2
lmiphay-de91bd3b25edf18ba566aa9e318ab921f7a49090.zip
add updated ebuild for squeeze-alexa
-rw-r--r--media-sound/squeeze-alexa/Manifest1
-rw-r--r--media-sound/squeeze-alexa/squeeze-alexa-20171216.ebuild80
-rw-r--r--squeeze-alexa.keywords2
3 files changed, 82 insertions, 1 deletions
diff --git a/media-sound/squeeze-alexa/Manifest b/media-sound/squeeze-alexa/Manifest
index 86e442f..4191b84 100644
--- a/media-sound/squeeze-alexa/Manifest
+++ b/media-sound/squeeze-alexa/Manifest
@@ -1,3 +1,4 @@
AUX lms-status 176 SHA256 e574363e5bc9b34f5c1d4e78b225573aa36bd3531ab52208dead31e39208966e SHA512 f263891bb1be26dba7abc8305d9fc2ef294e2bbbae71a3631bfd23c22a088b84fb8ecc90a6b5abf7acaf854dc9653600e0f5e9c8aad5c4d59adb7cb6252f517e WHIRLPOOL 18ea262235ce37b1e4fbcee7240ae2e59b666bd751a43ec1b9141f01faa6dd90c07c10e65430ebb85593bf31048bd4a8eaecc2b7afda1ba8bfeee016503fdda3
DIST squeeze-alexa-1.0.tar.gz 89415 SHA256 85d493ab5f92ff6b079ddb350d24ae0a9273f9cafaa457a8fc72e8b43e3c55c3 SHA512 a024282e62a7ac664d94ae5fa8a18ddc630a48aafa1147cb3ea29d12004426c17741d81a39ada8bb3bbd6c112bf7f6661b1d3229177093794ae41c2d6659d6fe WHIRLPOOL f12bfe0ca553256f011b3f49cd32c813f803cca3e45cabb9d118d62cdeba13ca3e63a0ef99ab8d83c3676cfdeddd5e5e6184f34837d1fff824c54be4f21293ba
EBUILD squeeze-alexa-1.0.ebuild 1727 SHA256 14e003053409e956330d684a4a191ad4badf87da369007d551916a20e591af1d SHA512 55a13f2d3358e3a78c365f43571097233321766658bff7922754732b83b14c03bede921d77686320a9ad6c37960a4e0ce8002cc1f01ed348142331945cdd4e8a WHIRLPOOL 5bf91ec0eb6de2cc53aee3bf144420de3f204fa7c038bf231ea1afe5db01a24775eb81d76bb0f242ba127d8cc68faaafb671e42d0a5acf5895d45327b7488b96
+EBUILD squeeze-alexa-20171216.ebuild 1765 SHA256 3f272ae66dfaafb2113b0d74811b0b4931bd1c6ba7e509111970d2f2d40f3aa8 SHA512 29b208428dc98fcc8f31d7b6368f5186a52e9eb9e8fbbd4053cfe505db71a2dd593a5c25c4646a9c84db4e6c199c8bc58a2c23f6fc89833ea0767973647640f4 WHIRLPOOL 1366a9b041ea51354a9d8256db7fd4286a2b7e24bba13649a09043c5d394b73fe34c01a09348730e02ea0de0885dbf481c63880cef3d3c839a9a9b9d08c3f045
diff --git a/media-sound/squeeze-alexa/squeeze-alexa-20171216.ebuild b/media-sound/squeeze-alexa/squeeze-alexa-20171216.ebuild
new file mode 100644
index 0000000..c4b9d08
--- /dev/null
+++ b/media-sound/squeeze-alexa/squeeze-alexa-20171216.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=(python2_7) # python3_6
+
+inherit readme.gentoo-r1 eutils python-single-r1 git-r3
+
+DESCRIPTION="Squeezebox integration for Amazon Alexa"
+HOMEPAGE="https://github.com/declension/squeeze-alexa"
+
+EGIT_REPO_URI="https://github.com/declension/squeeze-alexa.git"
+EGIT_COMMIT="949ed35dc8fc4e5a0c6c5164d07ebc87c5e5575f"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="mirror"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ dev-python/awscli[${PYTHON_USEDEP}]
+ =dev-python/fuzzywuzzy-0.12.0[${PYTHON_USEDEP}]
+ dev-python/lambda-uploader[${PYTHON_USEDEP}]
+ net-analyzer/nmap[ncat]
+ net-misc/stunnel
+ virtual/logger
+"
+DEPEND="
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-cov[${PYTHON_USEDEP}]
+ dev-python/coverage[${PYTHON_USEDEP}]
+ dev-python/flake8[${PYTHON_USEDEP}]
+ )
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ${RDEPEND}
+"
+
+DOCS="
+ README.md
+ docs/HOWTO.md
+ docs/TROUBLESHOOTING.md
+ docs/squeeze-alexa-networking.png
+ docs/squeeze-alexa-networking.xml
+ etc/stunnel.conf
+"
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="
+Support thread at:
+ http://forums.slimdevices.com/showthread.php?107009-Announce-squeeze-alexa-DIY-secure-Alexa-integration
+"
+src_install() {
+ python_domodule squeezealexa
+ python_newscript bin/local_test.py ${PN}-local-test
+
+ dobin ${FILESDIR}/lms-status
+
+ insinto "/usr/share/${PN}"
+ doins \
+ handler.py \
+ lambda.json
+ doins -r metadata squeezealexa
+
+ dodoc ${DOCS}
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
+
+python_test() {
+ py.test -vv || die "Tests failed"
+ flake8 --verbose --config="${S}"/setup.cfg "${S}"/squeezealexa
+}
diff --git a/squeeze-alexa.keywords b/squeeze-alexa.keywords
index d98b364..5579412 100644
--- a/squeeze-alexa.keywords
+++ b/squeeze-alexa.keywords
@@ -1,4 +1,4 @@
-=media-sound/squeeze-alexa-1.0 ~amd64
+=media-sound/squeeze-alexa-20171216 ~amd64
=dev-python/awscli-1.11.158 ~amd64
=dev-python/fuzzywuzzy-0.12.0 ~amd64