From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B09881381F1 for ; Thu, 12 Apr 2018 19:59:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1D6CE0794; Thu, 12 Apr 2018 19:59:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84A10E0794 for ; Thu, 12 Apr 2018 19:59:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E40AE335C0A for ; Thu, 12 Apr 2018 19:58:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05F48274 for ; Thu, 12 Apr 2018 19:58:56 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1523562961.00489fafef1b797a73bd5b71ce66df2c95dd4ca1.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/spec-cleaner/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/spec-cleaner/Manifest dev-util/spec-cleaner/spec-cleaner-1.0.7.ebuild X-VCS-Directories: dev-util/spec-cleaner/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 00489fafef1b797a73bd5b71ce66df2c95dd4ca1 X-VCS-Branch: master Date: Thu, 12 Apr 2018 19:58:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0fa55a66-3f7c-4eef-8b88-319d34a489ad X-Archives-Hash: 7ac678702662665ebfee3bafad98a8ba commit: 00489fafef1b797a73bd5b71ce66df2c95dd4ca1 Author: Michael Vetter iodoru org> AuthorDate: Thu Apr 12 12:38:15 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Apr 12 19:56:01 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00489faf dev-util/spec-cleaner: Bump to 1.0.7 Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7954 dev-util/spec-cleaner/Manifest | 1 + dev-util/spec-cleaner/spec-cleaner-1.0.7.ebuild | 48 +++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-util/spec-cleaner/Manifest b/dev-util/spec-cleaner/Manifest index d88dc40ee16..af6a1df9727 100644 --- a/dev-util/spec-cleaner/Manifest +++ b/dev-util/spec-cleaner/Manifest @@ -1 +1,2 @@ DIST spec-cleaner-1.0.6.tar.gz 450602 BLAKE2B acd298421f2c119e24dc52cf63e149194d5baa1282f9aef902e2ccaf51de040f5817641b4077f209656f715ea6ceb19bf55b8661c32cd24f461c58f9126d9e19 SHA512 a27b5dc7fdb02ca5c632faa5b6a2b71d6db3e9f97950f20c15b14584fa240ff7b69dc981ca67f4fcb6af207dff28a8267447ad0eb918e06ce2294436892e0eef +DIST spec-cleaner-1.0.7.tar.gz 450429 BLAKE2B 7ec57076f13c526ca10524a3852a26ddee4581137357dd593312cc1b55d908311c9146ac2b9c0a5f0ea491a2e1cec8b8a3e5dba25467881f656d43872bd69f5f SHA512 705fc3b9d5b927a64bd19bbf6c826464e40ec6b3cc97cd032417f8e4debac721c7e5f0c99e02fafbb5ce3454424a8b398a7827779b0a308549955ecac33d39c7 diff --git a/dev-util/spec-cleaner/spec-cleaner-1.0.7.ebuild b/dev-util/spec-cleaner/spec-cleaner-1.0.7.ebuild new file mode 100644 index 00000000000..297d0528ae6 --- /dev/null +++ b/dev-util/spec-cleaner/spec-cleaner-1.0.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5} ) +EGIT_REPO_URI="https://github.com/openSUSE/spec-cleaner.git" +inherit distutils-r1 +[[ ${PV} == 9999 ]] && inherit git-r3 + +DESCRIPTION="SUSE spec file cleaner and formatter" +HOMEPAGE="https://github.com/openSUSE/spec-cleaner" +[[ ${PV} != 9999 ]] && SRC_URI="https://github.com/openSUSE/${PN}/archive/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +[[ ${PV} != 9999 ]] && +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + ${PYTHON_DEPS} + >=app-arch/rpm-4.11.0.1 +" + +PATCHES=( + # pytest-runner is only needed in test scenario + "${FILESDIR}/${PN}-1.0.6-pytest-runner.patch" +) + +[[ ${PV} != 9999 ]] && S="${WORKDIR}/${PN}-${P}" + +src_prepare() { + # we have libexec + sed -i \ + -e 's:lib/obs:libexec/obs:g' \ + setup.py || die + distutils-r1_src_prepare +} + +python_test() { + esetup.py test +}