From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-text/openlp/Manifest | 6 +++ .../openlp/files/OpenLP-2.4.2-disable-tests.patch | 22 +++++++++++ app-text/openlp/metadata.xml | 10 +++++ app-text/openlp/openlp-2.4.2.ebuild | 43 ++++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 app-text/openlp/Manifest create mode 100644 app-text/openlp/files/OpenLP-2.4.2-disable-tests.patch create mode 100644 app-text/openlp/metadata.xml create mode 100644 app-text/openlp/openlp-2.4.2.ebuild (limited to 'app-text/openlp') diff --git a/app-text/openlp/Manifest b/app-text/openlp/Manifest new file mode 100644 index 000000000000..786afe6767fc --- /dev/null +++ b/app-text/openlp/Manifest @@ -0,0 +1,6 @@ +AUX OpenLP-2.4.2-disable-tests.patch 795 SHA256 a024fca478b34248d74d4c4a071ad637f1d5b1e45db3749608a9464271b64a4e SHA512 ac67c675a4793be0194ccdc522737de0fd2b7b008707c19cfb5dd4fd1c17e88a59c0d38cdfebb02272774da81dbf06ca8b897504abe3d37b5eeaf40b8d0c63f9 WHIRLPOOL 4fdbba70eaec1ca4bf29d3bdf8104f8ac887b99267880d964caf48f2bb1b7aaa4a34d21b067809f516cccb6ca1b1c80d63cc28a447431d04f5fad5facc2ccbe2 +DIST OpenLP-2.4.2.tar.gz 7430438 SHA256 ae56a9661a1847eb3c859fec3ac73e7b2e8b102b821232a26fd273f61a039c9c SHA512 650662231a5ef23460162f794237f8ecf54c20f8514793aef1b1bada2912e82c3e1a8aaec36e56a88ed38b5c282393635f6345926362080f8101ef6285a5d317 WHIRLPOOL 2771a17c76001b2981ceb4b5fad44319fa4218477fcdc00589a7e437ae6d721624ef5955ee041db20bf9bb6b802e90f386c7e87a95c53dcae9b52d7ebd072e7b +EBUILD openlp-2.4.2.ebuild 1189 SHA256 7917212d4fc44417057beea87ef2e79d613ae3780633e1e82ea5b8c9a9b6e340 SHA512 3d7dbd0028ee9b8347724d090d7ab472b7f5aa8b9fbf5812ff42bcddf184cdb6136b72c8d4fc3921854cb71d02f24292b56970219217487811942b7c4591892b WHIRLPOOL 00d17051ea63ea33488be3b65344c9c0edc3d361ec42cc38622cef28e1e4e9a01b73c215eda9167b041bb37a60fefb3fb9ff79fced676408f4516fd349cabe71 +MISC ChangeLog 2496 SHA256 191a510f513528a2f02c53359c2297074e02af80a9c795fba1fe953088b96211 SHA512 8034ac5ca65ab27b0894f65c8dddb15d383e38590df2f54de62df6ddfbd10fec76343c2a7699022b563d6393230231f943a936593162f796dfe19e7aec3338fd WHIRLPOOL 21e0b9a51d7598c6d7a908ebe730f3c80fe25442c26a418021f5de21024be66b6d66e096a5b47e5e7ec052ade3c57c08d73facc0eed10e937ed455af5f9b79e2 +MISC ChangeLog-2015 805 SHA256 bbffb9f9c6b85876be05b39e777e9210ecb19328d63ddd447927cef92226c9dc SHA512 afcd63ac567b7d025a8fdc53fd5696f28f4f67f0f702b559d655f8d006583f6b84655ea37e0222d50f0e7a60a1bd9779db1be678e4c9560b39c63a466608730b WHIRLPOOL 5d80a07cec48023a476b1817db2dd89adbf10e943da001b8fd6b33a44e259ee88adbf2c82a59a78f5d067225e0eb864e52106a9d2171677afeccef293cc451cb +MISC metadata.xml 294 SHA256 9f13e9363b06986ece9bc91752d60c19849250848dac635e9c4ef78713159d89 SHA512 c8a3971d0143dec3196e52b3bf877b4b3e29041ec6c3c78cc20415cc9fb9640bd0762a651c3f7fd8c12b27b60d0fcf99eb8f0761c10337a9cbcf84e7e78c37e6 WHIRLPOOL 0ce5e93bdacbf5e8edb7b9b03434fdd742e349a6e6fc658c943be7bc72bdbf23134f5f141f587318cddc9260340cf4f77e7f2020a5a58b34e1a0703414d9f95e diff --git a/app-text/openlp/files/OpenLP-2.4.2-disable-tests.patch b/app-text/openlp/files/OpenLP-2.4.2-disable-tests.patch new file mode 100644 index 000000000000..0b1de65e85af --- /dev/null +++ b/app-text/openlp/files/OpenLP-2.4.2-disable-tests.patch @@ -0,0 +1,22 @@ +diff -urN a/setup.cfg b/setup.cfg +--- a/setup.cfg 2016-06-25 13:20:56.000000000 -0500 ++++ b/setup.cfg 2016-09-08 22:30:54.606413547 -0500 +@@ -2,3 +2,5 @@ + exclude=resources.py,vlc.py + max-line-length = 120 + ignore = E402 ++[install] ++install_scripts=/usr/bin +\ No newline at end of file +diff -urN a/setup.py b/setup.py +--- a/setup.py 2016-06-25 13:20:56.000000000 -0500 ++++ b/setup.py 2016-09-08 22:30:50.523413394 -0500 +@@ -157,7 +157,7 @@ + author_email='raoulsnyman@openlp.org', + url='http://openlp.org/', + license='GNU General Public License', +- packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), ++ packages=find_packages(exclude=['ez_setup', 'examples', 'tests', 'tests.*']), + scripts=['openlp.py'], + include_package_data=True, + zip_safe=False, diff --git a/app-text/openlp/metadata.xml b/app-text/openlp/metadata.xml new file mode 100644 index 000000000000..c14282681213 --- /dev/null +++ b/app-text/openlp/metadata.xml @@ -0,0 +1,10 @@ + + + + + anarchy@gentoo.org + + + openlp + + diff --git a/app-text/openlp/openlp-2.4.2.ebuild b/app-text/openlp/openlp-2.4.2.ebuild new file mode 100644 index 000000000000..eb72deb54d74 --- /dev/null +++ b/app-text/openlp/openlp-2.4.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python3_{4,5,6} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 + +DESCRIPTION="Free church presentation software" +HOMEPAGE="http://openlp.org/" +SRC_URI="https://get.openlp.org/${PV}/OpenLP-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/alembic[${PYTHON_USEDEP}] + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/pyenchant-1.3[${PYTHON_USEDEP}] + dev-python/pyodbc + dev-python/PyQt5[multimedia,gui,network,svg,webkit,${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/sip[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-0.5[${PYTHON_USEDEP}] + dev-python/sqlalchemy-migrate[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/OpenLP-${PV} + +PATCHES=( "${FILESDIR}"/OpenLP-${PV}-disable-tests.patch ) + +python_install_all() { + distutils-r1_python_install_all + domenu resources/openlp.desktop + mv "${D}"/usr/bin/openlp.py "${D}"/usr/bin/openlp + doicon -s scalable resources/images/openlp.svg +} -- cgit v1.2.3