summaryrefslogtreecommitdiff
path: root/dev-python/traits
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/traits
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/traits')
-rw-r--r--dev-python/traits/Manifest7
-rw-r--r--dev-python/traits/metadata.xml33
-rw-r--r--dev-python/traits/traits-4.5.0.ebuild36
-rw-r--r--dev-python/traits/traits-4.6.0.ebuild38
4 files changed, 114 insertions, 0 deletions
diff --git a/dev-python/traits/Manifest b/dev-python/traits/Manifest
new file mode 100644
index 000000000000..2e1b5e4c1d6e
--- /dev/null
+++ b/dev-python/traits/Manifest
@@ -0,0 +1,7 @@
+DIST traits-4.5.0.tar.gz 4853612 SHA256 5293a8786030b0b243e059f52004355b6939d7c0f1be2eb5a605b63cca484c84 SHA512 d506b4395395898eb824896d299bfcde609e100025cf9a55cd7d7c47615545efd3b007e46549e564fbfb2d5882b36ae676843f211f168b2557c504849c5ef582 WHIRLPOOL fc9a1c41d09579df7cbb63ba17696b343bda707f0f95a2a5dd289b36fa4ded8088ea46f03259f616d9f081ff20fbce208adbc7913e0466ee6de56bc7e08718ae
+DIST traits-4.6.0.tar.gz 434937 SHA256 5d82345e0a34b88e394964eea1be47419530027aef7f0b20ad315b6ec6c68370 SHA512 0fce336696e4cbb1d4ba63a07ad42867cb179a9efa6c348623036bd6d2eb791302539ae89994b11acd5a9f1be42a0febeb517db1716342b78aa71ca1277fde99 WHIRLPOOL 4edddc716e2af68d000f7b81e49d8a77b6e9c3b34875634efc5fa611a89e732fb2ed3088db790e7f9915c721200753b3a3c71b95570b1889427618edfebffaca
+EBUILD traits-4.5.0.ebuild 832 SHA256 762eb84cac6d475df210d368dc65d2c2a5c47796b11781afadd32276a4a47fee SHA512 08fbbf2ed5793a3410201ee7ac2f74c763067685ad533eeba87aacd751dd1a8682c3befae2c13ddc128a38a1c60abdeec3ff9ab08c94bfb6b65746bd55ffc89e WHIRLPOOL beaabecc01c24c79c436429b7650e849312f7b386c3c3530637f914dff2c58f3af8e41ca9be1bea97a04d527dd2a3a79e67d4a2fb7c6eb529d9f4faa50ff8360
+EBUILD traits-4.6.0.ebuild 874 SHA256 2a9aae10ab68a1930cb0fd8da1eaa135ab3c64cc416b8b5525a9e700d56813a2 SHA512 a2c8fd3f6ca5e1050cef451a73688c91d2bebd4fb9bce40ec0f6bec6f1905035c12ffc68b1a8389be4651ebd79d2d19718d4e0944b98ce48fc1d1f1501f0e81b WHIRLPOOL a3ff9b9ab0af88b88ec1d7a1bec7b4ecdcf14ddd6153e018a2ec70d6ed76b7ba24ac17a0b9c877076ef8889456188570d85d08ffca00f6d62e1277974ef5951a
+MISC ChangeLog 3207 SHA256 790047102bfad9776ba8b6d62c2518520defa2d61aa61a2e1d7af74a4d72885b SHA512 682d546d5abde4f94ab8275984d1fd61ef50cf57b580965d03fad85a8f825ceea9498b03b45948126f62e092af896e148443b8124011204196300542271b9081 WHIRLPOOL 0f32a280d30665fb92f3754ae07825475b00af9449218fbe09107ade0d3bae232cdb1504fcf952b37185510b361d81f4a654558c59976d42db63ea2e59d7563d
+MISC ChangeLog-2015 6185 SHA256 d32c3c28bae6728b1bbc61cfe7c72a92080499aa162700f2cdf7b11472fcda94 SHA512 b2ebea5d919f0e4563fac388c6bf9756393f17e7159df4d4252da22f639668edafe2bdaa633c02f8bfd1b5d300ddbc97cfd9ff32bcce8da05dd77e1cf4d939a5 WHIRLPOOL fcb3e2bf0bd099d821ae4ff9a6d3b791ec113c4b2b130ea34cdecb1291f9a83f62989966807988d4c7d2e95221dfb04d23a4a460ea389446bdbfa99699c17d0a
+MISC metadata.xml 1253 SHA256 11ec36c27bd1e49b7b16c6024cfbbbd6c9e42cf3e1ca76f5d0a486612595e983 SHA512 8d5c170b3e29d2e6af8597315ab74a3da39da0dce828005942d9c69dcdcf52eb455327d2c7eec18416799f7091db7dad011834508826c63edbfddd6fd2f891e9 WHIRLPOOL 180a3d87a362bcda8761923d12d25b72ae88bab0f2761ac7b53a5d3884d5890bfa1c904a354bc13e6159ac259145f46ae8af5648d80353e63036080171fc5588
diff --git a/dev-python/traits/metadata.xml b/dev-python/traits/metadata.xml
new file mode 100644
index 000000000000..434824c9e015
--- /dev/null
+++ b/dev-python/traits/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>horea.christ@gmail.com</email>
+ <name>Horea Christian</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ The traits package from the Enthought Tool Suite provides a
+ metaclass with special attributes that are called traits. A trait
+ is a type definition that can be used for normal Python object
+ attributes, giving the attributes some additional characteristics:
+ * Initialization: A trait attribute can have a default value
+ * Validation: A trait attribute is manifestly typed.
+ * Delegation: The value of a trait attribute can be contained in
+ another object
+ * Notification: Setting the value of a trait attribute can fired
+ callbacks
+ * Visualization: With the TraitsUI package, GUIs can be
+ generated automatically from traited objects.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">traits</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/traits/traits-4.5.0.ebuild b/dev-python/traits/traits-4.5.0.ebuild
new file mode 100644
index 000000000000..f30ef234160f
--- /dev/null
+++ b/dev-python/traits/traits-4.5.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python"
+HOMEPAGE="http://code.enthought.com/projects/traits/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND} )"
+
+python_prepare_all() {
+ sed -i -e "s/'-O3'//g" setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}
+
+python_test() {
+ cd "${BUILD_DIR}"/lib || die
+ nosetests || die
+}
diff --git a/dev-python/traits/traits-4.6.0.ebuild b/dev-python/traits/traits-4.6.0.ebuild
new file mode 100644
index 000000000000..cfc695b51c52
--- /dev/null
+++ b/dev-python/traits/traits-4.6.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python"
+HOMEPAGE="http://code.enthought.com/projects/traits/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND} )"
+
+python_prepare_all() {
+ sed -i -e "s/'-O3'//g" setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}
+
+python_test() {
+ cd "${BUILD_DIR}"/lib || die
+ nosetests || die
+}