summaryrefslogtreecommitdiff
path: root/dev-python/peak-rules
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/peak-rules
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/peak-rules')
-rw-r--r--dev-python/peak-rules/Manifest5
-rw-r--r--dev-python/peak-rules/metadata.xml8
-rw-r--r--dev-python/peak-rules/peak-rules-0.5.ebuild43
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/peak-rules/Manifest b/dev-python/peak-rules/Manifest
new file mode 100644
index 000000000000..eef2c6160cda
--- /dev/null
+++ b/dev-python/peak-rules/Manifest
@@ -0,0 +1,5 @@
+DIST peak-rules-0.5.tar.gz 113173 SHA256 f6883f455f231d8eb72d1fd276eaae2dd91f415ad6abd6e2ec05ba8a2b4a3d55 SHA512 7ab915641829f6366b681b4c576e7213097cbd2be76bd526fdbb4f128762c04c08ee20e3fe3ef36e1df0e544719f71c28079745c9c88f98911074da51ecfa169 WHIRLPOOL 19d7c78c6689b4af1d6386f8146cb915cfe05871d7d596ceeb4c5e35876d855644ea4783ecd7c2906e3f85191cfb9d20f47e282ccef5fabe14232d41380817fc
+EBUILD peak-rules-0.5.ebuild 1313 SHA256 d8864d2d3e99796bf89029d2b7f62a8beb50bed8702db7ee60a961995949e1c9 SHA512 aea7e35276e2d86e03cd92344fdbddc457a3cfe716d20a0bbdf740c047d92bcb5a1e83fa72d7d1f061985d30af7265a64f279d32001ec402cbb805bd1ad43c03 WHIRLPOOL 849701f6cb0b1a25376480fd608ab974dc968547c7cfcadd3a089b7d993fc9dc9d6e90bc8920cd32d9a8f7303caa1072ba9d40bcaa59231555e049c708592e77
+MISC ChangeLog 2434 SHA256 6341d031c0d2f7cd0c58c217091bc85f6fa65c7cba35dfa9d10e3eb27575a332 SHA512 912ba06d61e2d05e0b502c103bb604e2724811fba76be5806690020216b979700fd87bab11f681b8294241198db28c452e5fe3c775cc1776cb646ed88077b265 WHIRLPOOL 4f90299fa09f60bfc70fc0ff4a677045fb769ac581e7f437218a0b9010f115b8579ead2d9c4ed6427a213a7e3ec9c357c71178b6c4657d5f48e7e2d5c6d5d30b
+MISC ChangeLog-2015 795 SHA256 2167afe70559923a848c666fcd63042a99439a8cd0de44a8de40a197e2e5a093 SHA512 d1a4c8bdfe8c8f506889d357cc90cc860ceafed306c2276997357b560ec3f2151412589b211a8f466f7a4725db1821757ce56a6d629129ec8682ae46eb1abd2c WHIRLPOOL ec776133f7e211f6c73d9a07238b488cebf95b0e9c024c2ab04485421edc25c7e3b24c3bec50c479cf967e0777c3ee1d660e8084d616ff75c9267a1a4ef3c311
+MISC metadata.xml 240 SHA256 07a76e79a43ffd9aa15de0e4ae548ea85aa5bd165c4602630c3519e60f113ee6 SHA512 9c23321eaa853f851bf00195ea64ac2ba093e516f9b57855ee5aa58fbb1988130c9f0c17c2a9ce9fae4ee033e0a28a70c868e0f5acdfa1dd316ab533c5279d59 WHIRLPOOL e3e059953c7c36bd942545f4e2a0e94ba938a17fe2bd04df81b137c185e64a213152c11918922563509e4767e601b41105f80c5983a87ee4d6be7704bcf7cf54
diff --git a/dev-python/peak-rules/metadata.xml b/dev-python/peak-rules/metadata.xml
new file mode 100644
index 000000000000..7f4f33c6dbc9
--- /dev/null
+++ b/dev-python/peak-rules/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/peak-rules/peak-rules-0.5.ebuild b/dev-python/peak-rules/peak-rules-0.5.ebuild
new file mode 100644
index 000000000000..edbc5c6550f0
--- /dev/null
+++ b/dev-python/peak-rules/peak-rules-0.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+MY_PN="PEAK-Rules"
+MY_P="${MY_PN}-${PV}a1.dev-r2713"
+
+DESCRIPTION="Generic functions and business rules support systems"
+HOMEPAGE="http://peak.telecommunity.com/ https://pypi.python.org/pypi/PEAK-Rules/"
+SRC_URI="http://peak.telecommunity.com/snapshots/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DOCS=( Code-Generation.txt Criteria.txt Indexing.txt README.txt Syntax-Matching.txt )
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/bytecodeassembler-0.6[${PYTHON_USEDEP}]
+ >=dev-python/addons-0.6[${PYTHON_USEDEP}]
+ >=dev-python/extremes-1.1[${PYTHON_USEDEP}]
+ test? ( >=dev-python/importing-1.10[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}"/${MY_P}
+
+python_test() {
+ PYTHONPATH=$PYTHONPATH:"${S}"/peak/rules/ "${PYTHON}" test_rules.py \
+ && einfo "Tests passed under ${EPYTHON}" \
+ || die "Tests failed under ${EPYTHON}"
+}
+
+src_test() {
+ # Relative import misfires for core.py during emerge
+ sed -e "s:from peak.rules.core:from core:" -i test_rules.py
+ distutils-r1_src_test
+ # Return to original statefor final install
+ sed -e "s:from core:from peak.rules.core:" -i test_rules.py
+}