Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev-python/ruamel-yaml/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST ruamel.yaml-0.18.10.tar.gz 143447 BLAKE2B 70aa658529d990ded1aa4a1da5d14789766a558c6b15f7f32c1f6e2723bd3ae7f89cb703e00e78ffcaf734dd66716cea189ba0ddae2205aa498816437fad60bf SHA512 fe3c85c55d344f33d4ca7a7b85381258bbd8b6d32249ac93b529dab7d68f84b536c531fcefd77d5c4fec5cab92595896414022ff8a53666de99502d89feaa74a
DIST ruamel.yaml-0.18.12.tar.gz 144847 BLAKE2B ec247c7d97bac779f53febb3a8c2572d630aff9d2f9c47e349bb86b62ddce877205a198f9d5de5afae209f55c02a0c58976b67fd7ed732d4567e0016dcc4cac7 SHA512 8b94ae7f0357aa118d24b5c46146b9218c9258824f19065653981c8b4044faeb1817c10b3175b976e66a97c7a1cdd218300a0405524f9f57d607159d6b1929f2
31 changes: 31 additions & 0 deletions dev-python/ruamel-yaml/ruamel-yaml-0.18.12.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3+ )
inherit distutils-r1

DESCRIPTION="YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order"
HOMEPAGE="None https://pypi.org/project/ruamel.yaml/"
SRC_URI="https://files.pythonhosted.org/packages/56/2f/5a4dd48a259cb72d6f972abb728d3b219b50980fe3b7c548e0be7c5f56aa/ruamel.yaml-0.18.12.tar.gz -> ruamel.yaml-0.18.12.tar.gz"

DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="test? ( dev-python/flake8[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] )"
IUSE="test"
SLOT="0"
LICENSE="MIT"
KEYWORDS="*"
S="${WORKDIR}/ruamel.yaml-0.18.12"

python_install() {
distutils-r1_python_install --single-version-externally-managed
find "${ED}" -name '*.pth' -delete || die
}

python_test() {
# This file produced by setup.py breaks finding system-wide installed ruamel.std.pthlib
# due to shared namespace
rm "${BUILD_DIR}/lib/ruamel/__init__.py" || die

py.test -v _test/test_*.py || die
}