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 F0DE0138334 for ; Mon, 28 Jan 2019 19:22:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42CB2E0F1A; Sun, 27 Jan 2019 23:29:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 F149DE0F1A for ; Sun, 27 Jan 2019 23:29:06 +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 D7ECE335D6B for ; Sun, 27 Jan 2019 23:29:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CB8A455 for ; Sun, 27 Jan 2019 23:29:03 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1548631728.deb0b397039d0f36e8330ba708497953d2944686.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/reflink/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/reflink/Manifest dev-python/reflink/metadata.xml dev-python/reflink/reflink-0.2.1.ebuild X-VCS-Directories: dev-python/reflink/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: deb0b397039d0f36e8330ba708497953d2944686 X-VCS-Branch: master Date: Sun, 27 Jan 2019 23:29:03 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c0aa97e1-4987-4b81-9d2d-c7206667196d X-Archives-Hash: bde9b367935114b4ba4458669b69b204 commit: deb0b397039d0f36e8330ba708497953d2944686 Author: Georgy Yakovlev gentoo org> AuthorDate: Sat Jan 26 02:32:24 2019 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jan 27 23:28:48 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb0b397 dev-python/reflink: new package pythonic wrapper around reflink family of syscalls Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> dev-python/reflink/Manifest | 1 + dev-python/reflink/metadata.xml | 15 +++++++++++ dev-python/reflink/reflink-0.2.1.ebuild | 44 +++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/dev-python/reflink/Manifest b/dev-python/reflink/Manifest new file mode 100644 index 00000000000..962a554aedb --- /dev/null +++ b/dev-python/reflink/Manifest @@ -0,0 +1 @@ +DIST reflink-0.2.1.tar.gz 14638 BLAKE2B a6449ebb27619ead9ff8452df6c48f3617e5f06eb347fbbe14ab00b9a43c01de8e101466288ac6fb73602165d4d4e9315f941c2f28dffe245ed2c39a10a61cf1 SHA512 5995ed787bda93cb46d99a603110768087420edd72c01d5f3f7f08a3f8f63b4629b900a3c173dd7f3119a892ac19ab1a9c3000ddd83810b22a52dfb5fb892a28 diff --git a/dev-python/reflink/metadata.xml b/dev-python/reflink/metadata.xml new file mode 100644 index 00000000000..e3b3aabe2dd --- /dev/null +++ b/dev-python/reflink/metadata.xml @@ -0,0 +1,15 @@ + + + + + gyakovlev@gentoo.org + Georgy Yakovlev + + + Python wrapper around the reflink system calls. + Btrfs, XFS, OCFS2 reflink support, Apple macOS APFS clonefile support. + + + reflink + + diff --git a/dev-python/reflink/reflink-0.2.1.ebuild b/dev-python/reflink/reflink-0.2.1.ebuild new file mode 100644 index 00000000000..8c8c593ccf5 --- /dev/null +++ b/dev-python/reflink/reflink-0.2.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +DESCRIPTION="RFC-compliant FQDN validation and manipulation for Python" +HOMEPAGE="https://gitlab.com/rubdos/pyreflink" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + sys-fs/btrfs-progs + ) +" +RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +# goes places, like writing to /dev or creating btrfs volumes +RESTRICT="test" + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} + +python_test() { + esetup.py test +}