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 3DD57138334 for ; Thu, 30 Aug 2018 21:32:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D94CBE078A; Thu, 30 Aug 2018 21:32:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B332DE078A for ; Thu, 30 Aug 2018 21:32:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 373CA335CC0 for ; Thu, 30 Aug 2018 21:32:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3E833B9 for ; Thu, 30 Aug 2018 21:32:07 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1535664705.e3760481155ad807f0a3c7c6007535f6952c8991.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/atomicwrites/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/atomicwrites/Manifest dev-python/atomicwrites/atomicwrites-1.2.1.ebuild X-VCS-Directories: dev-python/atomicwrites/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: e3760481155ad807f0a3c7c6007535f6952c8991 X-VCS-Branch: master Date: Thu, 30 Aug 2018 21:32:07 +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: b69414b9-daa5-48e0-9ee9-69292bfe0440 X-Archives-Hash: 053daba789dbc6591a06a30fe297de02 commit: e3760481155ad807f0a3c7c6007535f6952c8991 Author: Amy Liffey gentoo org> AuthorDate: Thu Aug 30 21:29:59 2018 +0000 Commit: Amy Liffey gentoo org> CommitDate: Thu Aug 30 21:31:45 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3760481 dev-python/atomicwrites: version bump 1.2.1 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/atomicwrites/Manifest | 1 + dev-python/atomicwrites/atomicwrites-1.2.1.ebuild | 41 +++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/atomicwrites/Manifest b/dev-python/atomicwrites/Manifest index 72e170e6895..bb06756e5ec 100644 --- a/dev-python/atomicwrites/Manifest +++ b/dev-python/atomicwrites/Manifest @@ -1 +1,2 @@ DIST atomicwrites-1.1.5.tar.gz 18951 BLAKE2B b0932995aae3ca23c11aace182429f4888819ea542a12b59d5b7ed4621c4759285d0cba306437bd1ce35b1ba32eac8ae6afc6548f2bae61870dbf03927c4fe75 SHA512 4de8ab93dcb226c55e8ae1b0ef883c2e1eeae50ac6596afe036ca51dbf6b094c13dbf2d792972312d4c53551886aaa2713aac54bfab42b85abef4d1146e039ac +DIST atomicwrites-1.2.1.tar.gz 11660 BLAKE2B 06b4ca25f39be0e7e8d8e8b46749d7dce052f912e82b1ccd39e308c8ed51ab0d4891f00c11d0e52ef50901c01566f20fcf1318cb472c9a1f3a08617fd1b56235 SHA512 4df7ee97e0817a80378b273ced310b8ad88eb6ced93a594a6e3dc38ad1e7208226fde01b6d282f85583c57a50859e82c85bacaae8a7c64fce55e6965f74b12c5 diff --git a/dev-python/atomicwrites/atomicwrites-1.2.1.ebuild b/dev-python/atomicwrites/atomicwrites-1.2.1.ebuild new file mode 100644 index 00000000000..5ca007ff2e8 --- /dev/null +++ b/dev-python/atomicwrites/atomicwrites-1.2.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} ) + +inherit distutils-r1 + +DESCRIPTION="Atomic file writes" +HOMEPAGE="https://github.com/untitaker/python-atomicwrites" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86 ~amd64-fbsd" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +python_prepare_all() { + sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + py.test -v || die "Tests fail with ${EPYTHON}" +}