Added ebuilds for volkszaehler | updated flexget and dependencies

This commit is contained in:
layman 2018-11-20 11:16:33 +01:00
parent 1b8701b121
commit 24d117186a
19 changed files with 678 additions and 20 deletions

View File

@ -1,3 +1,5 @@
DIST guessit-2.0.4.tar.gz 73497 SHA256 4f72e21fca9c294651abee26554e2ad778220d90a84f6e1195299a7ec17accb1 SHA512 ed44267881df208743900b4977d9e9bd555e9bb246b7de78e205c9038c6d8e395db05ba9d982dce830b1ac0c4d002f08b24e1cd7194d67aed942d60986fafd04 WHIRLPOOL bd6f535582c8c807930153eda65a9499a4e3b13c8490990cd3677b3d142b736712d9a7ca69d930d775e0139c4482fcdc0f9012df4894a32ea7fec329e6a832ea DIST guessit-2.0.4.tar.gz 73497 BLAKE2B d1910fe754dee4aabb6b3bead5ddac38013c40a9bddb317989719fa1fc1082cd6953154258ed313e762094e57bffc4b82a0a9080341583ae13feea9470c7fd9d SHA512 ed44267881df208743900b4977d9e9bd555e9bb246b7de78e205c9038c6d8e395db05ba9d982dce830b1ac0c4d002f08b24e1cd7194d67aed942d60986fafd04
EBUILD guessit-2.0.4.ebuild 1271 SHA256 185de6190c0c405a0c22e4525631014ac08cb7309fcaf5f1f1c53ac1b6dbbdeb SHA512 4ad541493a6935377a13e8eb317092b581014f043e7c52455fd530308fcd516fc11b0031f4a19c786542283797c1fc9b8570e77185fee8db3765096a45d797db WHIRLPOOL 35cf2f31fd9702fadaf72025e8de3d747252ddd4f3300ed2d2d3623b094b560bda1f9dbc7358b0a4f91f530955374797d6379c40aa94a3fd52c7f995899d64f3 DIST guessit-3.0.3.tar.gz 137804 BLAKE2B bcf79a896d02826ab154f671e6854898ded179d8babafa0ed7625553bfbde3b401540679311c19c72a494da61ce3193dfb5c8ac95487fa72e86db7f3e2047129 SHA512 c8743ee7e93e425c129c659afa0446d37a0e621e48659e283780c33659179e1b2d047a5656d6064afab8fc06711b76c073f131d1b6afbb7d663f3505ab25bf8b
MISC metadata.xml 494 SHA256 a4b99dd6eb9954f8676ab24c92b1ceb4cd61e7c8ce207d3e6ec17b9d03d47653 SHA512 7a9448f171bf023c39ca5bdeb3f3c079ad64ecfb07a15d8d3708e00365ed9cb9dd547e404197fca308fab1e52f8c7f3669bb952b370c8ca707ff24d6067a1c32 WHIRLPOOL 4153cc3020a8164f6850959e3ff48ea41d95e54def1368069c0109c1418cb693d6fc6469bd5c05500b061d8e8125e1598d0abfd90f4c7a2620f619d8365c4d5c EBUILD guessit-2.0.4.ebuild 1271 BLAKE2B d03ff5470466c8b5cc8a31af2b676c69e090d109d71d5ec042608c6133fe602813924e74a5040bd62435c3e8db4b1bd3598abdbb31275843e29a49eb4ef25c5b SHA512 4ad541493a6935377a13e8eb317092b581014f043e7c52455fd530308fcd516fc11b0031f4a19c786542283797c1fc9b8570e77185fee8db3765096a45d797db
EBUILD guessit-3.0.3.ebuild 1214 BLAKE2B f479ea14b41b37c039a8437fbfd92b890a7362034b13cbdcae20e868a91b1c844c265e977657920b5a6193a698c160aeac5664949ed9deca9c0ad498e566ec91 SHA512 cd8257edc6278823930110618136fcf0a7e8305c0bcd6ec3bb4bb3f54decc8a8a300bd5943ff9650cfece5c82b43d52ac7e0cdfd54700b419de53e6c897cec49
MISC metadata.xml 494 BLAKE2B 1263ff6357d817ed0e3fa8939860c0c2718f0f9d6d15dfcc0a7980d6040a56075c79c4e580c92a59a10a9f26fb0e0579592fb3e94272751b4f071e3d738eccbf SHA512 7a9448f171bf023c39ca5bdeb3f3c079ad64ecfb07a15d8d3708e00365ed9cb9dd547e404197fca308fab1e52f8c7f3669bb952b370c8ca707ff24d6067a1c32

View File

@ -0,0 +1,47 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
DESCRIPTION="Python library for guessing information from video filenames"
HOMEPAGE="https://github.com/guessit-io/guessit https://pypi.org/project/guessit/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
>=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
>=dev-python/rebulk-0.9.0[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? (
>=dev-python/pytest-3.4[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]
)
"
python_prepare_all() {
# Disable benchmarks as they require unavailable pytest-benchmark.
rm guessit/test/test_benchmark.py || die
sed -i -e "s|'pytest-benchmark',||g" setup.py || die
# Disable unconditional dependency on dev-python/pytest-runner.
sed -i -e "s|'pytest-runner'||g" setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
esetup.py test
}

View File

@ -3,5 +3,7 @@ AUX requests-2.14.2-system-packages.patch 665 BLAKE2B 119604df7f3499536f6788c8e8
AUX requests-2.5.0-system-cacerts.patch 694 BLAKE2B 68294e60112520472f7c776283a3bda8fee99aa7039134a1afb3965a5e44ce225b3961b7ddb26496da4514ff3a5a5867d00edf4ebfd9c117b8c7524939baf009 SHA512 804a2e2d46b6377c3f2a675ab367a1410e1f333dc6d087535f7eff73a78da06cef5ef66c3ad947bc1830aa373b963bfd30b4598eb6ca203a0f7e532cf971d145 AUX requests-2.5.0-system-cacerts.patch 694 BLAKE2B 68294e60112520472f7c776283a3bda8fee99aa7039134a1afb3965a5e44ce225b3961b7ddb26496da4514ff3a5a5867d00edf4ebfd9c117b8c7524939baf009 SHA512 804a2e2d46b6377c3f2a675ab367a1410e1f333dc6d087535f7eff73a78da06cef5ef66c3ad947bc1830aa373b963bfd30b4598eb6ca203a0f7e532cf971d145
AUX requests-2.9.1-system-packages.patch 527 BLAKE2B 1e07bf34117b1dfdff562b604d7d96fba074ea90f9fbdcdae0ea6f45867fc88933ad658f9399b69e5048de5990466e08294cf6b1c80c1b5ec2c54f490c8b52cb SHA512 f7f77fe81f2d98cf2777c3388aec82ff0bd0188dffd047b46fdf514e19859f23263780e7e9dc828fdfe7f08a8e9ee63602f22208d2927a65fa45b8361444169c AUX requests-2.9.1-system-packages.patch 527 BLAKE2B 1e07bf34117b1dfdff562b604d7d96fba074ea90f9fbdcdae0ea6f45867fc88933ad658f9399b69e5048de5990466e08294cf6b1c80c1b5ec2c54f490c8b52cb SHA512 f7f77fe81f2d98cf2777c3388aec82ff0bd0188dffd047b46fdf514e19859f23263780e7e9dc828fdfe7f08a8e9ee63602f22208d2927a65fa45b8361444169c
DIST requests-2.16.5.tar.gz 122929 BLAKE2B 07e7ac9bcf0f988e18853f70a49fd2eccc42088b3eaa0ee2f220482e0a8e37114a5c619dd059b6ac9ee604da3bfc232c1c5c676578372a771f6aca70677cc83e SHA512 9452103590a5f007dd98889ed0aa57517fb3eda11c860652ad17fd00ee605a976c857249593a1eb71736de832ae8907076b834f188a9aac8ba91a39ba6d3db10 DIST requests-2.16.5.tar.gz 122929 BLAKE2B 07e7ac9bcf0f988e18853f70a49fd2eccc42088b3eaa0ee2f220482e0a8e37114a5c619dd059b6ac9ee604da3bfc232c1c5c676578372a771f6aca70677cc83e SHA512 9452103590a5f007dd98889ed0aa57517fb3eda11c860652ad17fd00ee605a976c857249593a1eb71736de832ae8907076b834f188a9aac8ba91a39ba6d3db10
DIST requests-2.20.1.tar.gz 111475 BLAKE2B 3d57831915d7f27cbd0891799eb8eca3a1c28a2fc9096cf2189fb17351fbb1b35ac754d44b5c0c7f5df367d51b61287ef383b97cb983399df695954eae21b39e SHA512 631969fab07e6674afc8cc9707a2e18ea394c09cdef031894fd0b28cf94e20f4f24434901edf3233b84ce7be199cc8325b9fe975d9003334206bb4a85ca278ae
EBUILD requests-2.16.5.ebuild 1368 BLAKE2B f0439f54fdf25406a0f24b6e77942a3f3cae5027b14f89afbb050dc86349e10cec75eb16d784fb22b6e479e2f00caaeb08db0ca0d7bf3fc2de68be43e1e00eee SHA512 c9543e785b5a778c282d7c436fd1f0a675695537eafa244051c52a941fe113916cb7cfda2fd9c84658c84eb26c19a3dabf0bd7a80afa97e1c2afcea4e1be7c35 EBUILD requests-2.16.5.ebuild 1368 BLAKE2B f0439f54fdf25406a0f24b6e77942a3f3cae5027b14f89afbb050dc86349e10cec75eb16d784fb22b6e479e2f00caaeb08db0ca0d7bf3fc2de68be43e1e00eee SHA512 c9543e785b5a778c282d7c436fd1f0a675695537eafa244051c52a941fe113916cb7cfda2fd9c84658c84eb26c19a3dabf0bd7a80afa97e1c2afcea4e1be7c35
EBUILD requests-2.20.1.ebuild 1425 BLAKE2B 04be7607fd99a9ba3e7597432ae81fb67cce32567706edd2abd7995ce45b2677b8c054e9fb466782052c05418938ce8419b2ceb751aba880322907363bb8d44b SHA512 48d9e316bb6ac62ac98e047bf896e577dcb90bd66db48b0aa9aee0e5bd30873aa0589a29732ea1e9a462b5a6d705ffaf1c74e32b198ffbffa1e37aeab13bc665
MISC metadata.xml 674 BLAKE2B 8670395eb334921eeaa21367eaf1c7d3770c11a166dc680bcb9b99a05da91d797baec8ef3c0596c40143f732e427c322a75ea75da1a2e7d99e56426be077b35e SHA512 7aa5c27d949a076b09b4c2b9e905124047d9ececc40d9c3fd225c6405aa084db96cab585956db9885b115cd24c6c153ae853187872e77e7d44ae5790c323bac9 MISC metadata.xml 674 BLAKE2B 8670395eb334921eeaa21367eaf1c7d3770c11a166dc680bcb9b99a05da91d797baec8ef3c0596c40143f732e427c322a75ea75da1a2e7d99e56426be077b35e SHA512 7aa5c27d949a076b09b4c2b9e905124047d9ececc40d9c3fd225c6405aa084db96cab585956db9885b115cd24c6c153ae853187872e77e7d44ae5790c323bac9

View File

@ -0,0 +1,52 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="HTTP library for human beings"
HOMEPAGE="http://python-requests.org/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
IUSE="socks5 +ssl"
RDEPEND="
>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
<dev-python/idna-2.8[${PYTHON_USEDEP}]
<dev-python/urllib3-1.24[${PYTHON_USEDEP}]
socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
ssl? (
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
)
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
# tests connect to various remote sites
RESTRICT="test"
#DEPEND+="
# test? (
# dev-python/pytest[${PYTHON_USEDEP}]
# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
# dev-python/pytest-mock[${PYTHON_USEDEP}]
# dev-python/pytest-xdist[${PYTHON_USEDEP}]
# >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
# )
#"
python_test() {
py.test || die
}

View File

@ -1,17 +1,21 @@
AUX flexget-2.10.35-guessit.patch 559 SHA512 e10aef03cdaf5e1c9839c8c165776c613ffeb007d68f5d030c2ae648a4b7452694194cff0774365df3475c2f780d84b0d2b5c8515e48263e46766580e07caef0 AUX flexget-2.10.35-guessit.patch 559 BLAKE2B fc5a9348c77f298c0919c532d741c196f3ee3548eb667c277595760deb6465c1bfe4089f0bf545a0115f788d7c170bd9f3c93709f4a2769ffba0ce0827d2f990 SHA512 e10aef03cdaf5e1c9839c8c165776c613ffeb007d68f5d030c2ae648a4b7452694194cff0774365df3475c2f780d84b0d2b5c8515e48263e46766580e07caef0
AUX flexget.service 365 SHA512 308dd362b01b029419c83d7b29f4a337b35bed6312de3a8fb46f816fd590a0dc0fa69234adfb48021b2cbb39c86a38eba0a7fcaa43962301da08ef111aca01c4 AUX flexget.service 365 BLAKE2B fc1b320e46fe150b8eb61a1b6916a2405d0c67a6a104a992703d379e84e1f538b53f04fa645307b9703e5e97158b2323334ebef5f3a26c2d1078bb169d418080 SHA512 308dd362b01b029419c83d7b29f4a337b35bed6312de3a8fb46f816fd590a0dc0fa69234adfb48021b2cbb39c86a38eba0a7fcaa43962301da08ef111aca01c4
DIST FlexGet-2.10.35.tar.gz 2677411 SHA512 6350ab4ed0312249cce04f83244826bc0d681ab4a2e36a9b768f8031665518e80ce5e0a3089b8aa7e39a57c984910c923c2eac4f6e00a3f05342456e9b8e52aa DIST FlexGet-2.10.35.tar.gz 2677411 BLAKE2B 03c6cd265dac7dbbb4341761f8d4478ecaa9c600a640feb632a9c673093c98f026ced4a21fd3f85b483a70cd2f7bb466d7c2ef4bbe239651ec2dd7e7d4501975 SHA512 6350ab4ed0312249cce04f83244826bc0d681ab4a2e36a9b768f8031665518e80ce5e0a3089b8aa7e39a57c984910c923c2eac4f6e00a3f05342456e9b8e52aa
DIST FlexGet-2.10.84.tar.gz 2673109 SHA512 f3294fe64b45c582f8ef572ba9ded1f59bd8d0caa4ff9e4eb48278b59be8002e5029ccd0f6008df7d2b9f42165833f90eef0256fb3e6da0967009414d8d9da43 DIST FlexGet-2.10.84.tar.gz 2673109 BLAKE2B 083cf45bf2a78edc8aba324628f7247796284c31b65b5d9c99fba5a98804cc6bb12697fde4452ae04c8ca7b7ca9a4a8baa0a4d03e5f3d80f43b165495484ce5b SHA512 f3294fe64b45c582f8ef572ba9ded1f59bd8d0caa4ff9e4eb48278b59be8002e5029ccd0f6008df7d2b9f42165833f90eef0256fb3e6da0967009414d8d9da43
DIST FlexGet-2.11.24.tar.gz 6943832 SHA512 4483ff4db3801f943998acf512d02a858699071e0202ed1a70c16382b73bd3a6327065c89ed9b913a2d660c1fc67ac79ce1a085853ec98eac7b981b92e5fa92f DIST FlexGet-2.11.24.tar.gz 6943832 BLAKE2B 3118bd2117b61401d0578274d7a8636563cc149a8f8e0a51071071e9f48196b853d5b3fc59f66cd7873575597eb0a84a363fd4aa7322201c1cdaf3cf4f73c8f6 SHA512 4483ff4db3801f943998acf512d02a858699071e0202ed1a70c16382b73bd3a6327065c89ed9b913a2d660c1fc67ac79ce1a085853ec98eac7b981b92e5fa92f
DIST FlexGet-2.13.15.tar.gz 6137439 SHA512 e6fa621befc91a882d4172e26325ce87944c68bfd38df9ad2da060a01b0c3cb63e96cfcd11b36eb308b8d4426faab6631ed51d1b70381882688dedbdc4ab43c4 DIST FlexGet-2.13.15.tar.gz 6137439 BLAKE2B 608afc02f8b77c20ed8692838dc5c46be4e702e5a8b2eb93164ee15b25fbb95a200d0e3bdfeb4dff455ae8b83d6266151aadc2f5cf6b0c5186add21a733e5ad0 SHA512 e6fa621befc91a882d4172e26325ce87944c68bfd38df9ad2da060a01b0c3cb63e96cfcd11b36eb308b8d4426faab6631ed51d1b70381882688dedbdc4ab43c4
DIST FlexGet-2.14.15.tar.gz 6123464 SHA512 8a7b236e8efc56de4164840f177646e48c0ce3d32b63569d6dcea6ac659cf24f4eef01c4ec0ef880841807e79e3db7c90e577e0551331a164c77392f82ff5a77 DIST FlexGet-2.14.15.tar.gz 6123464 BLAKE2B 47eaf0cdf3968cf6b734c680ac5a645af966b01ddb3b5df882e6b5c76ac08e93ab059a6190ff588cad1cc3986155f0b01e81383cc439c3a3600fefce7ae9395b SHA512 8a7b236e8efc56de4164840f177646e48c0ce3d32b63569d6dcea6ac659cf24f4eef01c4ec0ef880841807e79e3db7c90e577e0551331a164c77392f82ff5a77
DIST FlexGet-2.14.9.tar.gz 6122541 SHA512 16d372db032b5cfbb132bae65cf774e42874eafc9ebe16299e471222b54ae5f4a47ebbda1df19c81028b3b14dd6dc0a158412f98f9d21d56f180dfba17f1a32b DIST FlexGet-2.14.25.tar.gz 6131799 BLAKE2B 42e104e9e6a8ad4e4d23b86c01955098512d607fde60cfb5a42fc7fbd6811e72fed384eaa66163f31396a987596ef6dcebf95d318b78189b9838cf07349c4de7 SHA512 5963fa6d63d62b9ba09ff87457794d3b619506ef6fac05d54caf626ada50e7e5ad138a6d6f2127e65632cb3fd9a3842047ab3b1fbe8025fe10481af6fff3286a
DIST FlexGet-2.9.18.tar.gz 2637431 SHA512 3ae7d407d31850aa4f003e257c3c41b11658d1ab13ca3f11476fe976fd6b16314410c3b7d441a4b66dc987618deb62ec703e1e9e81d34ca7344a6674488a8b57 DIST FlexGet-2.14.9.tar.gz 6122541 BLAKE2B 24d7617f8e2692ea313038428634f1cbc4ee986899dbca5725d2c73af243b40db25b2123ba08ebf9a720f70cacdfdfe6090f2a2d32d047af80ed8ef197d90aee SHA512 16d372db032b5cfbb132bae65cf774e42874eafc9ebe16299e471222b54ae5f4a47ebbda1df19c81028b3b14dd6dc0a158412f98f9d21d56f180dfba17f1a32b
EBUILD flexget-2.10.35.ebuild 2589 SHA512 30a1ddac133fd8617dfac5c3a8dfae6240503a4e64f65f030582b27b5a0fb2469bcba49357f59e0972c706acbfc83b53dd0b51c0aabd623263c93c6a30fb2568 DIST FlexGet-2.17.11.tar.gz 6128310 BLAKE2B 5f8a91e2bf5442adb15a8a00b16ecec32b418fd35e90d70fc18c43be28a40ced25d5c92f4c983cce7d285b3e383041eb2374e6a84e405c85e2e7cba8d165d917 SHA512 41118d3b35ff2add07e7fed89a5be97a4bb33057f7830d9100bdb37028d15104f15a1c669addedc6ef9e0b641e0c8d1ea70cd6a26457455155841a34dc5977f4
EBUILD flexget-2.10.84.ebuild 2555 SHA512 ba1efb6b476c9bcfd346bcad40f6aac688b17d037de63a3307fb85f8ada6575be52cf44a6ab579a4f0a7dc83bc7f8c86c7e49e2ca275d84adeb3c6f566d59fe8 DIST FlexGet-2.9.18.tar.gz 2637431 BLAKE2B 78253e2ae95193488715c7c5e5d048b7abb98c1bd2399dc5b77f1e1d0795b52f3ce35074c53c23a0200fb3d4e3b186a87c7b6f88b51bf2db71719e636533400a SHA512 3ae7d407d31850aa4f003e257c3c41b11658d1ab13ca3f11476fe976fd6b16314410c3b7d441a4b66dc987618deb62ec703e1e9e81d34ca7344a6674488a8b57
EBUILD flexget-2.11.24.ebuild 3490 SHA512 229b79ed01853f9efc25f9cba21e73e4475e0474266f22fc06b6526ee48432c996ac738a47f6fb7a810c446ef2e0a0b95750882073380744a0f0c0a266708957 EBUILD flexget-2.10.35.ebuild 2589 BLAKE2B 0d6e3deb742f146a8f1fc193e340dde9d15e5853c4da2d69c7d15fed0aa327a274f704f2aa515b14820d9b079e0e9ed27cf559140f9f08dde944962ede9001a1 SHA512 30a1ddac133fd8617dfac5c3a8dfae6240503a4e64f65f030582b27b5a0fb2469bcba49357f59e0972c706acbfc83b53dd0b51c0aabd623263c93c6a30fb2568
EBUILD flexget-2.13.15.ebuild 3526 SHA512 23e71a617583cf2b6bd1a2ea59abd7c5bd94b354e9fb3dac91f1086f50d6661d93484aa925cb403b5510c2e397c2cedb3fc2f354ea59594d60e98386726c3631 EBUILD flexget-2.10.84.ebuild 2555 BLAKE2B 7610d7606ec86ee5ceb957b18560b17b6f945e72bb0fd6f78339ba4f5b8b08d62dce5b631be5f1d6e295a9426744a11fb1eaf6037972c81a197148a3d32fc3e3 SHA512 ba1efb6b476c9bcfd346bcad40f6aac688b17d037de63a3307fb85f8ada6575be52cf44a6ab579a4f0a7dc83bc7f8c86c7e49e2ca275d84adeb3c6f566d59fe8
EBUILD flexget-2.14.15.ebuild 4470 SHA512 84757adcaab10e22c724ef7f4c889fdf120cc441cc767aabbb57e2c1c5b24cf6f9d8f0f4472f68e1de1c4944c9e501f0552fa87aa61335948ed0db51ba4f59de EBUILD flexget-2.11.24.ebuild 3490 BLAKE2B bbe9a5328ee84c18cf6f4520bf6b233cf4f89d1b516dd07b3f4b9e914b8cb9a59b89f1e8156f99b97ed91e01b1409fb819b65615cce09c4715a35923db64815f SHA512 229b79ed01853f9efc25f9cba21e73e4475e0474266f22fc06b6526ee48432c996ac738a47f6fb7a810c446ef2e0a0b95750882073380744a0f0c0a266708957
EBUILD flexget-2.14.9.ebuild 3517 SHA512 8df3527222e8f7d4636db63225e4a6826e11f54161cb59a14c0173be1715835ee62c79fc2182b93f625acea1284070aaf1b63568d4eeebe50a80716a625b68d2 EBUILD flexget-2.13.15.ebuild 3526 BLAKE2B df0fe5214655d7fe7ab29b101f4e113529e36ed69fc7c0dccd6d457bb454c68422ce8c3414e4f4e6668ec040fc661396b3657b3b1d4c8ace34428b4aae16b14b SHA512 23e71a617583cf2b6bd1a2ea59abd7c5bd94b354e9fb3dac91f1086f50d6661d93484aa925cb403b5510c2e397c2cedb3fc2f354ea59594d60e98386726c3631
EBUILD flexget-2.9.18.ebuild 2725 SHA512 6a1282b64862b61f15586278462fd29da45a2472dbd5a1740b1ef13eb486210fd42de625d6ed200c804349a4684ee4db4e3a6f2347be3e9d85ffea806e6d9bfd EBUILD flexget-2.14.15.ebuild 4470 BLAKE2B ff8e9f00c7c9f541492c80feccbc6468ae597885010c64da437f7292f84cbd2bf30861037edd3aeea29a7b4afcf788a423af6e1f408dd563a1ddf356ff4c47b3 SHA512 84757adcaab10e22c724ef7f4c889fdf120cc441cc767aabbb57e2c1c5b24cf6f9d8f0f4472f68e1de1c4944c9e501f0552fa87aa61335948ed0db51ba4f59de
MISC ChangeLog 559 SHA512 85e73780c6b8c9abfd16f66e9183c9d7a8a2bc06fdd6311d05572b316a3975dafbd29bfe6f872862b0d6d41e79fde99717df2dedac2be5eee76af58a2d387667 EBUILD flexget-2.14.25.ebuild 4681 BLAKE2B 883381534828801262ec638fe3393c5c358962f2f550a5d76113ec9f1f9c62eff9307a2b56f0d337eb1496b19aac0e8333c9f54384a76fcdff85bb5051c4176e SHA512 624c4fe355f5a37460c1f73af4e3396ce397ec9fffbbc10aff263b08f1834a70c4afc2b837d219a86a582f4f5a1f9ff5229b641217d0a824a0c77b9d3a15a2c1
EBUILD flexget-2.14.9.ebuild 3517 BLAKE2B 069cf2cba3fb96524525fc919e461ca6bb3870cdbbd39c6858e1531bfe11e7ad4c0dca753aca64571a73f0738d68d6a8990545b95af31a2898b84c927001ecfb SHA512 8df3527222e8f7d4636db63225e4a6826e11f54161cb59a14c0173be1715835ee62c79fc2182b93f625acea1284070aaf1b63568d4eeebe50a80716a625b68d2
EBUILD flexget-2.17.11.ebuild 4766 BLAKE2B 91bc29dcf67aeeeea124b7056f3dd3a80ef23be4fd0a1703032c2d915e61d7fe5a826e8a6f6245a83daea2e1ed65dc908d6e46e755fff97a5d902b46696e7c61 SHA512 f465a4f90e0924d8274874ecc37856508d47045926ca0915983dc8fc931b7f4ae3f947339817996e6a8b545d5c2b63c253f09bed682aec4f84b44572a8a44cc9
EBUILD flexget-2.9.18.ebuild 2725 BLAKE2B 2a80b56f4cf1c5d92a1648919f2daac5818a36908ac3130df5ab482bb65fbf0f3675ae8ff6d1d15025e0acc616314160357972d3d9c6aabf578954e20997d649 SHA512 6a1282b64862b61f15586278462fd29da45a2472dbd5a1740b1ef13eb486210fd42de625d6ed200c804349a4684ee4db4e3a6f2347be3e9d85ffea806e6d9bfd
MISC ChangeLog 559 BLAKE2B 43030b5c73d9efa71c0cd9b8e60d1d75908debd818fb880a3740b2f74764fccfd9e1e014453a3fe851addce9f57a701c53894279ef1801622d9e8b71900b62df SHA512 85e73780c6b8c9abfd16f66e9183c9d7a8a2bc06fdd6311d05572b316a3975dafbd29bfe6f872862b0d6d41e79fde99717df2dedac2be5eee76af58a2d387667

View File

@ -0,0 +1,125 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
=dev-python/APScheduler-3.5.0[${PYTHON_USEDEP}]
=dev-python/beautifulsoup-4.6.3:4[${PYTHON_USEDEP}]
=dev-python/certifi-2018.8.24[${PYTHON_USEDEP}]
>=dev-python/cherrypy-10.2.2[${PYTHON_USEDEP}]
=dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
=dev-python/flask-1.0.2[${PYTHON_USEDEP}]
=dev-python/flask-compress-1.4.0[${PYTHON_USEDEP}]
=dev-python/flask-cors-3.0.2[${PYTHON_USEDEP}]
=dev-python/flask-login-0.4.1[${PYTHON_USEDEP}]
=dev-python/flask-restful-0.3.6[${PYTHON_USEDEP}]
=dev-python/flask-restplus-0.10.1[${PYTHON_USEDEP}]
~dev-python/future-0.16.0[${PYTHON_USEDEP}]
=dev-python/guessit-2.1.4[${PYTHON_USEDEP}]
=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
=dev-python/jinja-2.10[${PYTHON_USEDEP}]
=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
=dev-python/path-py-10.3.1[${PYTHON_USEDEP}]
~dev-python/pathlib-1.0.1[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
=dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.7.3[${PYTHON_USEDEP}]
>=dev-python/pytz-2017.2[${PYTHON_USEDEP}]
=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
=dev-python/rebulk-0.9.0[${PYTHON_USEDEP}]
~dev-python/requests-2.19.1[${PYTHON_USEDEP}]
=dev-python/rpyc-3.3.0[${PYTHON_USEDEP}]
=dev-python/sqlalchemy-1.2.9[${PYTHON_USEDEP}]
=dev-python/tempora-1.8[${PYTHON_USEDEP}]
=dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
=dev-python/tzlocal-1.4[${PYTHON_USEDEP}]
=dev-python/urllib3-1.23[${PYTHON_USEDEP}]
=dev-python/zxcvbn-python-4.4.15[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^aniso8601==1.2.1/aniso8601==3.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^beautifulsoup4==4.6.0/beautifulsoup4==4.6.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2017.4.17/certifi==2018.8.24/" ${S}/requirements.txt || die
sed -i -e "s/^chardet==3.0.3/chardet==3.0.4/" ${S}/requirements.txt || die
sed -i -e "s/^cheroot==5.5.0/cheroot==6.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^cherrypy==10.2.2/cherrypy==13.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^flask==0.12.2/flask==1.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^flask-login==0.4.0/flask-login==0.4.1/" ${S}/requirements.txt || die
sed -i -e "s/^html5lib==0.999999999/html5lib==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^idna==2.5/idna==2.7/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==2.9.6/jinja2==2.10/" ${S}/requirements.txt || die
sed -i -e "s/^portend==1.8/portend==2.2/" ${S}/requirements.txt || die
sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.4/" ${S}/requirements.txt || die
sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.7.3/" ${S}/requirements.txt || die
sed -i -e "s/^pytz==2017.2/pytz>=2017.2/" ${S}/requirements.txt || die
sed -i -e "s/^pyyaml==3.12/pyyaml==3.13/" ${S}/requirements.txt || die
sed -i -e "s/^requests==2.16.5/requests==2.19.1/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.10.0/six==1.11.0/" ${S}/requirements.txt || die
sed -i -e "s/^sqlalchemy==1.2.6/sqlalchemy==1.2.9/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.21.1/urllib3==1.23/" ${S}/requirements.txt || die
sed -i -e "s/^werkzeug==0.12.2/werkzeug==0.14.1/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -0,0 +1,127 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
=dev-python/APScheduler-3.5.0[${PYTHON_USEDEP}]
=dev-python/beautifulsoup-4.6.3:4[${PYTHON_USEDEP}]
=dev-python/certifi-2018.8.24[${PYTHON_USEDEP}]
~dev-python/cherrypy-13.1.0[${PYTHON_USEDEP}]
~dev-python/click-6.7[${PYTHON_USEDEP}]
=dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
=dev-python/flask-1.0.2[${PYTHON_USEDEP}]
=dev-python/flask-compress-1.4.0[${PYTHON_USEDEP}]
=dev-python/flask-cors-3.0.2[${PYTHON_USEDEP}]
=dev-python/flask-login-0.4.1[${PYTHON_USEDEP}]
=dev-python/flask-restful-0.3.6[${PYTHON_USEDEP}]
=dev-python/flask-restplus-0.10.1[${PYTHON_USEDEP}]
~dev-python/future-0.16.0[${PYTHON_USEDEP}]
=dev-python/guessit-3.0.3[${PYTHON_USEDEP}]
=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
=dev-python/jinja-2.10[${PYTHON_USEDEP}]
=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
=dev-python/path-py-10.3.1[${PYTHON_USEDEP}]
~dev-python/pathlib-1.0.1[${PYTHON_USEDEP}]
=dev-python/plumbum-1.6.4[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
=dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
=dev-python/pytz-2018.4[${PYTHON_USEDEP}]
=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
=dev-python/rebulk-0.9.0[${PYTHON_USEDEP}]
~dev-python/requests-2.20.1[${PYTHON_USEDEP}]
=dev-python/rpyc-3.3.0[${PYTHON_USEDEP}]
=dev-python/sqlalchemy-1.2.9[${PYTHON_USEDEP}]
=dev-python/tempora-1.8[${PYTHON_USEDEP}]
=dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
=dev-python/tzlocal-1.4[${PYTHON_USEDEP}]
=dev-python/urllib3-1.23[${PYTHON_USEDEP}]
=dev-python/zxcvbn-python-4.4.15[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^aniso8601==1.2.1/aniso8601==3.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^beautifulsoup4==4.6.0/beautifulsoup4==4.6.3/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2017.4.17/certifi==2018.8.24/" ${S}/requirements.txt || die
sed -i -e "s/^chardet==3.0.3/chardet==3.0.4/" ${S}/requirements.txt || die
sed -i -e "s/^cheroot==5.5.0/cheroot==6.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^cherrypy==10.2.2/cherrypy==13.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^flask==0.12.2/flask==1.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^flask-login==0.4.0/flask-login==0.4.1/" ${S}/requirements.txt || die
sed -i -e "s/^html5lib==0.999999999/html5lib==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^idna==2.5/idna==2.7/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==2.9.6/jinja2==2.10/" ${S}/requirements.txt || die
sed -i -e "s/^portend==1.8/portend==2.2/" ${S}/requirements.txt || die
sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.4/" ${S}/requirements.txt || die
sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.7.5/" ${S}/requirements.txt || die
sed -i -e "s/^pytz==2017.2/pytz==2018.4/" ${S}/requirements.txt || die
sed -i -e "s/^pyyaml==3.12/pyyaml==3.13/" ${S}/requirements.txt || die
#sed -i -e "s/^requests==2.16.5/requests==2.19.1/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.10.0/six==1.11.0/" ${S}/requirements.txt || die
sed -i -e "s/^sqlalchemy==1.2.6/sqlalchemy==1.2.9/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.21.1/urllib3==1.23/" ${S}/requirements.txt || die
sed -i -e "s/^werkzeug==0.12.2/werkzeug==0.14.1/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -0,0 +1,2 @@
AUX vzlogger.logrotate 71 BLAKE2B ac41e0c56cd3ddc1432635ce2ef9c6e383dab49422215b6610ebbff8890916308caf22cc6d10c86e126190dfb8d18f2c6b13f2078c7febcab7a48ca52878f6e5 SHA512 cbb813856a949bd4e11a552def0ce18e55f7127e8a03c7e5d42302f49e79bba004a9f80789f554899c7f5304b555bcc2d85ad837b00e8201550c1a642b64c17a
EBUILD vzlogger-9999.ebuild 1508 BLAKE2B 9ec428e28b64da419961d7c86ea01d55cfe6cee914b60bbf09245927316f4d3c24128f5fcc2324b4493e28b168715a6986412845efc12ba7cda637ed8a659604 SHA512 70f677052c8f0f38e442ac641d250bd9faef0d692cf6690b646a42701359a2dc8b479c503b851211e8dc09380ad3dd797f65acbfcd731e0003502d54c9e6bc47

View File

@ -0,0 +1,6 @@
/var/log/vzlogger.log {
rotate 3
missingok
compress
copytruncate
}

View File

@ -0,0 +1,68 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils systemd
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/volkszaehler/${PN}"
inherit git-r3
KEYWORDS=""
else
SRC_URI=""
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="A tool to read and log measurements of a wide variety of smart meters and sensors to the volkszaehler.org middleware"
HOMEPAGE="https://github.com/volkszaehler/vzlogger"
LICENSE="GPL-3"
SLOT="0"
IUSE="+logrotate +microhttpd ocr oms +sml systemd"
RDEPEND="dev-libs/json-c
logrotate? ( app-admin/logrotate )
microhttpd? ( net-libs/libmicrohttpd )
ocr? ( media-libs/leptonica app-text/tesseract )
oms? ( sci-libs/libmbus )
sml? ( sci-libs/libsml )
"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
default
cmake-utils_src_prepare
sed -e "s@ExecStart=/usr/local/bin/vzlogger@ExecStart=/usr/bin/vzlogger@" \
-i ${S}/etc/vzlogger.service \
|| die "sed failed"
}
src_configure() {
local mycmakeargs=(
-DBUILD_TEST=off
-DENABLE_LOCAL=$(usex microhttpd)
-DENABLE_OCR=$(usex ocr)
-DENABLE_OCR_TESSERACT=$(usex ocr)
-DENABLE_OMS=$(usex oms)
-DENABLE_SML=$(usex sml)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
insinto /etc
doins ${S}/etc/vzlogger.conf
if use logrotate; then
insinto /etc/logrotate.d
newins ${FILESDIR}/vzlogger.logrotate vzlogger
fi
use systemd && systemd_dounit ${S}/etc/vzlogger.service
}

View File

@ -0,0 +1,2 @@
EBUILD libmbus-9999.ebuild 586 BLAKE2B 6230c40c9fcae267b31981f0166c949478371b8a57b8690a5cb9bec92a3829e42217d5cccb1b5ba414f080b47cfdbf9785bd61e23f530f827d2d0272f577f97a SHA512 4a6c89e7efe955daf547cc912c39735d4cb5a810b36d07a2350200221012b3043f8f4af55246845fef1cfc934cb13f7f4aaae80a9462015e24a27125f09bf01f
MISC metadata.xml 256 BLAKE2B 4c059fb5081287336047af5a449bebc0838049c83b5c7a078c308df426e16a2fe9d9b7f97e9e6cb4f4b2e2ee482391a7b0569b0d8a82d1668edee19711357ad6 SHA512 6cce7981d034a259ea4a4e010da189961cb8e64067cfb93b2497c02198b858161e70f4c0ac9db84e6dcd857c54e3e30de71b63d248167fd2b18185b337fc7d60

View File

@ -0,0 +1,30 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/rscada/${PN}"
inherit autotools git-r3
KEYWORDS=""
else
SRC_URI="https://github.com/rscada/${PN}/archive/${PV} -> ${P}"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="An open source library for the M-bus (Meter-Bus) protocol"
HOMEPAGE="https://github.com/rscada/libmbus"
LICENSE=""
SLOT="0"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
default
eautoreconf
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gentoo@tk-webart.de</email>
<name>Torsten Kurbad</name>
</maintainer>
</pkgmetadata>

2
sci-libs/libsml/Manifest Normal file
View File

@ -0,0 +1,2 @@
EBUILD libsml-9999.ebuild 1203 BLAKE2B 86f8cf253e57ae5c2c3addd70c5dbfe68c9a430e14bd77b2badefe04c368d88bb041384bee7bfd19b2dfb6523851a03ef0c02f7f4203ffe05c1490bfdccefe5f SHA512 dd8c20b30abd4b759034f574953f6af2e9e3d52ba4d0dc250145b1e377efe23487ef1dc3bc81e8e94cab444b384d165e26f0d6212c30ebe991f5399cbe000a0b
MISC metadata.xml 256 BLAKE2B 4c059fb5081287336047af5a449bebc0838049c83b5c7a078c308df426e16a2fe9d9b7f97e9e6cb4f4b2e2ee482391a7b0569b0d8a82d1668edee19711357ad6 SHA512 6cce7981d034a259ea4a4e010da189961cb8e64067cfb93b2497c02198b858161e70f4c0ac9db84e6dcd857c54e3e30de71b63d248167fd2b18185b337fc7d60

View File

@ -0,0 +1,62 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/volkszaehler/${PN}"
inherit git-r3
KEYWORDS=""
else
SRC_URI="https://github.com/volkszaehler/${PN}/archive/${PV} -> ${P}"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="A library which implements the Smart Message Language (SML)"
HOMEPAGE="https://github.com/volkszaehler/libsml"
LICENSE="GPL-3"
SLOT="0"
IUSE="+examples"
RDEPEND="
sys-apps/util-linux
"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
sed -e "s@prefix = /usr/local@prefix = /usr@" \
-i ${S}/sml/Makefile \
|| die "sed failed"
sed -e "s@Version: 0.1@Version: 0.9@" \
-i ${S}/sml.pc \
|| die "sed failed"
if use examples ; then
sed -e "s@prefix = /usr/local@prefix = /usr@" \
-i ${S}/examples/Makefile \
|| die "sed failed"
fi
default
}
src_compile() {
emake -C sml
use examples && emake -C examples
}
src_install() {
DESTDIR="${D}" emake -C sml install
use examples && DESTDIR="${D}" emake -C examples install
insinto /usr/lib/pkgconfig
doins ${S}/sml.pc
}
src_test() {
emake -C test
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gentoo@tk-webart.de</email>
<name>Torsten Kurbad</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,2 @@
EBUILD volkszaehler-9999.ebuild 2760 BLAKE2B 8f4d31302ac866464049d2c90d16df1a37645ffca30441194e532425ee34e53272863c03162cfee77aaea39c76c06075dbc7078fbc0806254a56572d920011aa SHA512 68ada7e18dfdd04984012eb1146384bde89f23ab993924bad84bc4a77e3d35465dfb701bb6d30443ba7cecc5b800c36d09a761e29581bcf28256e70e1cd024f1
MISC metadata.xml 392 BLAKE2B 736fb06bba21342a9cdd29ce815b1325098bc11798675534a4d299bcbaeb29f46d1eab8bebd90e2539187e82294510d06827ac068611797ad441e7c024bee6b8 SHA512 f63f0ac7c836f4f8c21d69b021d6e4d6f4257f80fd1995f180509379c7ab82028a89d1be22a381e36aad34b21d94e29c2471b48d6b31dd1a634150991e7b6c33

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>web-apps@gentoo.org</email>
<name>Gentoo Webapps</name>
</maintainer>
<use>
<flag name="akismet">Installs Akismet comment spam plug-in</flag>
<flag name="themes">Installs themes (including default theme)</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,97 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit webapp
DESCRIPTION="A free smart meter implementation with focus on data privacy"
HOMEPAGE="http://volkszaehler.org/"
MY_PN="${PN}.org"
MY_P="${MY_PN}-${PV}"
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/volkszaehler/${MY_PN}"
inherit git-r3
KEYWORDS=""
else
SRC_URI="https://github.com/volkszaehler/${PN}/archive/${PV} -> ${MY_P}"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
RDEPEND="virtual/httpd-php
dev-lang/php[cli,xml]
dev-php/composer
dev-php/doctrine
dev-php/jpgraph
dev-php/pecl-apcu
dev-php/psr-log
|| ( dev-lang/php[apache2] dev-lang/php[fpm] )
postgres? ( dev-lang/php[postgres] )
mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
vzlogger? ( sci-electronics/vzlogger )"
need_httpd_cgi
IUSE="+mysql postgres +vzlogger"
src_compile() {
default
composer install --no-dev
composer dumpautoload
}
src_install() {
webapp_src_preinst
local docs="LICENSE README.md bin/README.md misc/controller/README"
dodoc ${docs}
rm -rf ${docs}
insinto "${MY_HTDOCSDIR}"
doins -r .
webapp_configfile "${MY_HTDOCSDIR}"/etc/volkszaehler.conf.template.php
webapp_configfile "${MY_HTDOCSDIR}"/etc/middleware.json
webapp_configfile "${MY_HTDOCSDIR}"/etc/dbcopy.json
webapp_src_install
}
pkg_postinst() {
webapp_pkg_postinst
local PASSWORD=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
echo
einfo "If this is a first time install, you have to configure your"
einfo "volkszaehler instance."
echo
einfo "For MySQL, you have to run:"
echo
echo " mysql -uroot -p"
echo " CREATE USER 'volkszaehler'@'localhost' IDENTIFIED BY '$PASSWORD';"
echo " CREATE DATABASE IF NOT EXISTS \`volkszaehler\`;"
echo " GRANT select, update, insert ON volkszaehler.* TO volkszaehler@localhost;"
echo " FLUSH PRIVILEGES;"
echo " QUIT;"
echo
echo " cp -a /var/www/localhost/htdocs/${PN}/etc/volkszaehler.conf.template.php \\"
echo " /var/www/localhost/htdocs/${PN}/etc/volkszaehler.conf.php"
echo " sed \"s/\([[:space:]+]\)= 'vz';/\1= 'volkszaehler';/\" \\"
echo " -i /var/www/localhost/htdocs/${PN}/etc/volkszaehler.conf.php";
echo " sed \"s/\([[:space:]+]\)= 'demo';/\1= '$PASSWORD';/\" \\"
echo " -i /var/www/localhost/htdocs/${PN}/etc/volkszaehler.conf.php";
echo
echo " cd /var/www/localhost/htdocs/${PN}"
echo " php bin/doctrine orm:schema-tool:create --dump-sql > misc/sql/database.sql"
echo " cat database.sql | mysql -uroot volkszaehler -p"
echo
einfo "Additionally, you need to configure your webserver."
einfo "Consult https://wiki.volkszaehler.org/software/middleware/installation for details."
echo
}