diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pyds9 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pyds9')
-rw-r--r-- | dev-python/pyds9/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pyds9/files/pyds9-1.8.1-use-system-xpa.patch | 36 | ||||
-rw-r--r-- | dev-python/pyds9/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/pyds9/pyds9-1.8.1.ebuild | 25 |
4 files changed, 83 insertions, 0 deletions
diff --git a/dev-python/pyds9/Manifest b/dev-python/pyds9/Manifest new file mode 100644 index 000000000000..467542194c92 --- /dev/null +++ b/dev-python/pyds9/Manifest @@ -0,0 +1,4 @@ +AUX pyds9-1.8.1-use-system-xpa.patch 1089 BLAKE2B a69e6f644ea475d115297fad9a4e5731233716af11a1aa67cf873dbaaebc70abedffb4cad86e65dd3a109372336b98de7a15bf55c3884a20b695faf86eca7801 SHA512 1cb86d67479485abf95898ca88e5949a6a0e2eb96a2eb1aeda777bc3815653f6e1a8a7be9345b1a50eb4fa63c205b6a2a5ef4838a7b585d7e2d5a74e6e60e08c +DIST pyds9-1.8.1.tar.gz 899377 BLAKE2B 06b38aa1b4c2df7ed69908d2fe3d884cdc5598846594c32f9c3f8c078f3ab4424e6906dda051a94916bb61659d3d5e6b9cf676e97494bd542df714e5756b3610 SHA512 6924ba2a1c1ccd0b3c068d4923c6a35127da744b91b97ece7d075bfde68ff49e6d24ae55869aa5e0e462f3f488db697dcdb33d217b33b6d63551286d9a95eec9 +EBUILD pyds9-1.8.1.ebuild 612 BLAKE2B b9d083e9a6f0019bd729d4944ef8e5ddf9a60c96ce6b5b86f248f7502828d78a4dd7cca2c8213c90098266dd5d30774c6c7fe8061e9f16a13023d9230aa98486 SHA512 2d1672fb9485e2d7a885b31907db04a80c0e18013c6e0c655d3823bec87fa4c6cbc37563e4dab541e6f721f6dbfe2d3e16f155f49f2bbb06ac41504aae64c702 +MISC metadata.xml 689 BLAKE2B 091eee3939c4065d1bd1b058ae992badbd4184eddd94d87bd011a89de3ec635497ac38503488d00866096b0ff0465171b2d65df85ba8ffffa5396099902c11ee SHA512 edb6305f963fff8c98d5d24f7873bdaf30a49db7defcb2c1b4e76c8bf82d9d4843f217da5a3a7c19cd6eedd41450d9d53c7638b3296b7e6a906808457458b279 diff --git a/dev-python/pyds9/files/pyds9-1.8.1-use-system-xpa.patch b/dev-python/pyds9/files/pyds9-1.8.1-use-system-xpa.patch new file mode 100644 index 000000000000..b84994f76b08 --- /dev/null +++ b/dev-python/pyds9/files/pyds9-1.8.1-use-system-xpa.patch @@ -0,0 +1,36 @@ +Author: Ole Streicher <debian@liska.ath.cx> +Description: Don't install and use the convienience copy provided in the + source, but use the one installed by the "libxpa1" package. +--- a/setup.py ++++ b/setup.py +@@ -21,7 +21,7 @@ + xpadir = 'xpa' + + +-def make(which): ++def _disabled_make(which): + curdir = os.getcwd() + srcDir = os.path.join(os.path.dirname(os.path.abspath(__file__)), xpadir) + os.chdir(srcDir) +@@ -86,10 +86,5 @@ + author_email='saord@cfa.harvard.edu', + url='http://hea-www.harvard.edu/saord/ds9/', + py_modules=['pyds9', 'xpa'], +- data_files=[('', [os.path.join(xpadir, xpalib), +- os.path.join(xpadir, xpans)])], +- cmdclass={'build_py': my_build_py, +- 'install_data': my_install_data, +- 'clean': my_clean}, + install_requires=['six'] + ) +--- a/xpa.py ++++ b/xpa.py +@@ -28,7 +28,7 @@ + return _fname + return None + +-_libpath = _find_shlib('xpa') ++_libpath = 'libxpa.so.1' + if _libpath: + libxpa = ctypes.cdll.LoadLibrary(_libpath) + _ulist = platform.uname() diff --git a/dev-python/pyds9/metadata.xml b/dev-python/pyds9/metadata.xml new file mode 100644 index 000000000000..638486c778fb --- /dev/null +++ b/dev-python/pyds9/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="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <longdescription lang="en"> + The XPA messaging system provides seamless communication between + many kinds of Unix programs, including Tcl/Tk programs such as + ds9. The pyds9 module uses a Python interface to XPA to communicate + with ds9. It supports communication with all of ds9’s XPA access + points. + </longdescription> + <upstream> + <remote-id type="github">ericmandel/pyds9</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyds9/pyds9-1.8.1.ebuild b/dev-python/pyds9/pyds9-1.8.1.ebuild new file mode 100644 index 000000000000..61bf4bede0f8 --- /dev/null +++ b/dev-python/pyds9/pyds9-1.8.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 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 + +DESCRIPTION="Python interface to XPA to communicate with DS9" +HOMEPAGE="https://github.com/ericmandel/pyds9" +SRC_URI="https://github.com/ericmandel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="x11-libs/xpa:0 + dev-python/six[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +DOCS=(changelog README.md) + +PATCHES=( "${FILESDIR}/${P}-use-system-xpa.patch" ) |