summaryrefslogtreecommitdiff
path: root/dev-util/cram
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-util/cram
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'dev-util/cram')
-rw-r--r--dev-util/cram/Manifest1
-rw-r--r--dev-util/cram/cram-0.7.ebuild21
-rw-r--r--dev-util/cram/metadata.xml18
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/cram/Manifest b/dev-util/cram/Manifest
new file mode 100644
index 000000000000..0c04ef113f0c
--- /dev/null
+++ b/dev-util/cram/Manifest
@@ -0,0 +1 @@
+DIST cram-0.7.tar.gz 33527 BLAKE2B 4c89f98a550bef0c7d92e4b15c466690c1be7d829257b6469340d5c40415466b755989ce1b4ad4ce479587c91d64467dfb42f468c5817e9a09163c111da11e58 SHA512 9fa57e504abac8fd15bf5ff4a74405cb7acd10fd4c797adee87052a4f1c4e975bbc0f4219afd9485358b2c2939b48b3ffe538ae2abc6eea71e0ba8b458d50103
diff --git a/dev-util/cram/cram-0.7.ebuild b/dev-util/cram/cram-0.7.ebuild
new file mode 100644
index 000000000000..0221959f3ab6
--- /dev/null
+++ b/dev-util/cram/cram-0.7.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Functional testing framework for command line applications"
+HOMEPAGE="https://bitheap.org/cram/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 x86"
+
+python_test() {
+ distutils_install_for_testing
+ "${EPYTHON}" "${TEST_DIR}"/scripts/cram tests || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-util/cram/metadata.xml b/dev-util/cram/metadata.xml
new file mode 100644
index 000000000000..dc18226657fb
--- /dev/null
+++ b/dev-util/cram/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael G. Martins</name>
+ </maintainer>
+ <longdescription lang="en">
+ Cram is a functional testing framework for command line applications.
+ Cram tests look like snippets of interactive shell sessions. Cram
+ runs each command and compares the command output in the test with
+ the command's actual output.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">cram</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>