diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/xcffib |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/xcffib')
-rw-r--r-- | dev-python/xcffib/Manifest | 8 | ||||
-rw-r--r-- | dev-python/xcffib/files/xcffib-0.4.2-test-imports.patch | 35 | ||||
-rw-r--r-- | dev-python/xcffib/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/xcffib/xcffib-0.4.0.ebuild | 33 | ||||
-rw-r--r-- | dev-python/xcffib/xcffib-0.5.1.ebuild | 37 |
5 files changed, 125 insertions, 0 deletions
diff --git a/dev-python/xcffib/Manifest b/dev-python/xcffib/Manifest new file mode 100644 index 000000000000..1fed6349b0dc --- /dev/null +++ b/dev-python/xcffib/Manifest @@ -0,0 +1,8 @@ +AUX xcffib-0.4.2-test-imports.patch 902 SHA256 b33fb7a7f91885f3be7b8506730be206ab0ffc4f5209e274218c21bfa30b448a SHA512 f08590fb2d5979f464d56f9c7e45b83f20954005980f98d2ee3d2c6ce5c44554431059fc911040943ecdcd4ca786c345bab6bae733a46379ad58fa487d516697 WHIRLPOOL ea8e23d4b6e28f52b4e70d77dbb38971310b29b90b3184bfb3d7a1d1146d0ee0f988e3e51a48434728bd519e254ddb32c3a39f7a79fd0f54b2e08383fdb11f4f +DIST xcffib-0.4.0.tar.gz 74715 SHA256 94a3d3d48289a7e9e0687b1f9a5f69de6e6449ac98df0f79773b286a72f79f8a SHA512 ac144ffdfb559ae2ee8d4a23c937989ca4e28f913b2d27f1240725c8398ede1a7a010a0d861998151923d235d5e04799d8df8496c9ec8005a2286825dcd59bd7 WHIRLPOOL f67aba9f217a2aa408945f4f2703853385ce8170d069660f9433410c13ca41bbf9ba5fd9729509192996d34d934626a1c0f91e08a64e44b4aef43fb4e88b5c74 +DIST xcffib-0.5.1.tar.gz 81274 SHA256 c0f8daf5375df1df2dbccd1066f464831cf3dd69d58dd851ada8d85d72b5eb25 SHA512 ed13a43e301c6713c3831261bd94444d3961f805c39cc72dbe05f986eafb24e4f53f653045b84b57b4046a3ac763b20bd661298af5e6cc57978c57d68d2a0a39 WHIRLPOOL 7b4c31737324550b78fa0755c1a3b58cdf8f0b1aaee39feecce4a0e8759208bdbf9b121c76ed558c1360b214cc833f20d50612deb835e46b8681bb652f0e802e +EBUILD xcffib-0.4.0.ebuild 795 SHA256 d3c0c885fc30b67fa7521bf9a2b63060a6460de4b045382f3ca69c7c432b4825 SHA512 33e449cfbda001cf2337845a2cc9c83b81b2189b6f5f43050c30fcc2ea451b8ecb0a93191cf329a3dd82d000c5a9510b822642bd0957c28b54bb3d9d34283442 WHIRLPOOL ef532c133bb08031ed2d75942062d90db66d5a9ed5b6c0452bb4c7fb9c95ca5819205aa7dfb0394a3f2dfa419668efcd9900cc7c89433079dd20ffc568b64667 +EBUILD xcffib-0.5.1.ebuild 891 SHA256 aaa9805b7213835fb42d81dc27bb9869e6070f71c1ac70e6d4afe68b8c2046bb SHA512 87dc9302c3a9e0c6ca5d1bda60b0cf1fb704c1224e14cfe7d5b5eada5ab68c150ceda4a822ac2a19d9e39ffe19e4e03e966571f010e79a9a41119abfaec66800 WHIRLPOOL c44543ef1ced9ce7023cfce36b4cfb40cd14363003fd2a2a649426d55e96c14debea907e5508c67837cf7e663ad82f923320ab856a33c09885456e90cd53feb9 +MISC ChangeLog 5320 SHA256 bb0925d49f79625e185c1a1222dfd79f924f6333cae15494f1b89725f6092348 SHA512 6362dc3e408123844f0c9a95ef16e0f72892ed4d0fac9489680e07def77556d8aa9de9cc5cddcca919cfcc03cb05094a5dde35cd51e6a766206af389d7f764f3 WHIRLPOOL 26ccb59064cea7cb3576aa34a5dc90a020ca7b9c52649cb452dd59713ecd076e7e08b63244f8c72310993369edb1ac8a43358a80568c7b2316a19ae7c0712489 +MISC ChangeLog-2015 1783 SHA256 b2d7580bf226c9cb7b1710ab39eb1642b7390d2ebc3c74eda9270ccf4353559b SHA512 71de5ad74add63739f61e9b2d2864cd6e8f0d97e143f5766c1f04f1c956424ad897c225ee8bd2472d612af5b28087ccdd7fe9b5a8a5e9807462781eed2d8fafa WHIRLPOOL 5f35002ab37b18f2f76a65c5ffb03e22d41d15459c7d479a44a6a3f64297a67ad99a49c3c218d37621efaeb2a83f95fac75c6ee5182e082fc0d481fec1329959 +MISC metadata.xml 373 SHA256 adcf97f4f47add6a17cfcdc543a37feb47f79968f56f3589567f9bfdd5f19339 SHA512 2c7291bce1de8d82151379bcdcc039344659570feec49b82ce9e7274b5e0abecf8499fe7c595b06f71c37ab7bfcb3f2ce8771f216282a50b6c1aba5dffc1008c WHIRLPOOL faafa9b500503bbe18bda7b2b5856dec03b0f54291a4096b141b234de5e44decf0f463590881aed57105f45512cecdaa76ab05003d16fbd06f1150998c082aba diff --git a/dev-python/xcffib/files/xcffib-0.4.2-test-imports.patch b/dev-python/xcffib/files/xcffib-0.4.2-test-imports.patch new file mode 100644 index 000000000000..da33bf3934cb --- /dev/null +++ b/dev-python/xcffib/files/xcffib-0.4.2-test-imports.patch @@ -0,0 +1,35 @@ +Relative imports don't work because the test dir isn't a proper python module. + +--- xcffib-0.4.2/test/test_connection.py ++++ xcffib-0.4.2/test/test_connection.py +@@ -20,7 +20,7 @@ + + from xcffib import ffi + from xcffib.testing import XvfbTest +-from .testing import XcffibTest ++from testing import XcffibTest + + from nose.tools import raises + from nose import SkipTest +--- xcffib-0.4.2/test/test_fakeinput.py ++++ xcffib-0.4.2/test/test_fakeinput.py +@@ -2,7 +2,7 @@ + import xcffib.xproto + import xcffib.xtest + +-from .testing import XcffibTest ++from testing import XcffibTest + + class TestConnection(XcffibTest): + def test_fakeinput(self): +--- xcffib-0.4.2/test/test_python_code.py ++++ xcffib-0.4.2/test/test_python_code.py +@@ -18,7 +18,7 @@ + import struct + from xcffib.xproto import EventMask + +-from .testing import XcffibTest ++from testing import XcffibTest + + class TestPythonCode(XcffibTest): + diff --git a/dev-python/xcffib/metadata.xml b/dev-python/xcffib/metadata.xml new file mode 100644 index 000000000000..bf990924271b --- /dev/null +++ b/dev-python/xcffib/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <upstream> + <remote-id type="pypi">xcffib</remote-id> + <remote-id type="github">tych0/xcffib</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/xcffib/xcffib-0.4.0.ebuild b/dev-python/xcffib/xcffib-0.4.0.ebuild new file mode 100644 index 000000000000..3d3c3be49a79 --- /dev/null +++ b/dev-python/xcffib/xcffib-0.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A drop in replacement for xpyb, an XCB python binding" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +HOMEPAGE="https://github.com/tych0/xcffib" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +COMMON_DEPEND="x11-libs/libxcb" + +RDEPEND=" + $(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*') + $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy ) + dev-python/six[${PYTHON_USEDEP}] + ${COMMON_DEPEND}" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${COMMON_DEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_test() { + nosetests -d -v || die +} diff --git a/dev-python/xcffib/xcffib-0.5.1.ebuild b/dev-python/xcffib/xcffib-0.5.1.ebuild new file mode 100644 index 000000000000..a684401d294c --- /dev/null +++ b/dev-python/xcffib/xcffib-0.5.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A drop in replacement for xpyb, an XCB python binding" +HOMEPAGE="https://github.com/tych0/xcffib" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="test" + +COMMON_DEPEND="x11-libs/libxcb" +RDEPEND=" + $(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*') + $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy ) + dev-python/six[${PYTHON_USEDEP}] + ${COMMON_DEPEND}" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${COMMON_DEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + x11-apps/xeyes + )" + +PATCHES=( "${FILESDIR}"/${PN}-0.4.2-test-imports.patch ) + +python_test() { + nosetests -d -v || die +} |