diff --git a/dev-python/python-application/Manifest b/dev-python/python-application/Manifest new file mode 100644 index 0000000000000..eda074bffdc63 --- /dev/null +++ b/dev-python/python-application/Manifest @@ -0,0 +1 @@ +DIST python-application-1.5.0.tar.gz 43552 SHA256 9bc00c2c639bf633e2c5e08d4bf1bb5d7edaad6ccdd473692f0362df08f8aafc SHA512 9bf683a88bfb11ab5cf86b2d1ef86e22cf6fcb6004f0059b1d3cb2e1cde46827ced57a1cdd313c1d48dbd1ad610e9d36617619f79af748c55c517089720cb2b1 WHIRLPOOL 321411f6f33d29f2847accc805c78bbca3dc255e4768954d75904cea7f3843d2ff15f51bcc62706d8b6101b61d5e9d294968e607ff63f22a75982b00e8850f3a diff --git a/dev-python/python-application/metadata.xml b/dev-python/python-application/metadata.xml new file mode 100644 index 0000000000000..91adab3be3efe --- /dev/null +++ b/dev-python/python-application/metadata.xml @@ -0,0 +1,30 @@ + + + + python + + hasufell@gentoo.org + Julian Ospald + + + This package is a collection of modules that are useful when + building python applications. Their purpose is to eliminate the + need to divert resources into implementing the small tasks that + every application needs to do in order to run successfully and + focus instead on the application logic itself. + + The modules that the application package provides are: + 1. process - UNIX process and signal management. + 2. python - python utility classes and functions. + 3. configuration - a simple interface to handle configuration files. + 4. log - an extensible system logger for console and syslog. + 5. debug - memory troubleshooting and execution timing. + 6. system - interaction with the underlying operating system. + 7. notification - an application wide notification system. + 8. version - manage version numbers for applications and packages. + 9. dependency - verify package dependencies at runtime. + + + python-application + + diff --git a/dev-python/python-application/python-application-1.5.0.ebuild b/dev-python/python-application/python-application-1.5.0.ebuild new file mode 100644 index 0000000000000..23a3e8bf5e29a --- /dev/null +++ b/dev-python/python-application/python-application-1.5.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit distutils-r1 + +DESCRIPTION="Basic building blocks for python applications" +HOMEPAGE="http://ag-projects.com/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/python-cjson/Manifest b/dev-python/python-cjson/Manifest new file mode 100644 index 0000000000000..8f27ee03fac4e --- /dev/null +++ b/dev-python/python-cjson/Manifest @@ -0,0 +1,2 @@ +DIST python-cjson-1.1.0.tar.gz 12298 SHA256 a01fabb7593728c3d851e1cd9a3efbd18f72650a31a5aa8a74018640da3de8b3 SHA512 039e5f724c3a49d0043f788b0634c4191a6ae5abaa012d8491622e5a9ac22ecc5a342a0243f70b0ac02c8640243aaf8b0cf20a0ab12ee4866d9af966d73c1706 WHIRLPOOL 509817683798ef7e9dd7a22c13bff52ce5eb48cdf4aed996603b89fe8d8270e24e90f240adcd14efd1d5326c45edb4f440269e32b7bcb445409a83d44baf067f +EBUILD python-cjson-1.1.0.ebuild 580 SHA256 ebf8ea33fffacc8f3993319e4f1e28a51abf951e0d4bf804791ee26597c13fe8 SHA512 191bac2ca1396427f932b554bda9c978c6bdbb2318f992ebe2f2fc355f8e54eb7ec1ebb25d4be773aaede9a357dd1ab9c34a29aad19ca6d729e928078a515690 WHIRLPOOL d10bd60c40525345ac62b8ff20d1e19c1709965d6e0963c5207114edd4e66c831c85cc4349e13cb819539b1bab2a7ccadd2cb77c965acd40e36e79a1848ffe0c diff --git a/dev-python/python-cjson/metadata.xml b/dev-python/python-cjson/metadata.xml new file mode 100644 index 0000000000000..2018cab26b22f --- /dev/null +++ b/dev-python/python-cjson/metadata.xml @@ -0,0 +1,29 @@ + + + + python + + hasufell@gentoo.org + Julian Ospald + + + This module implements a very fast JSON encoder/decoder for Python. + + JSON stands for JavaScript Object Notation and is a text based + lightweight data exchange format which is easy for humans to + read/write and for machines to parse/generate. JSON is completely + language independent and has multiple implementations in most of + the programming languages, making it ideal for data exchange and + storage. + + The module is written in C and it is up to 250 times faster when + compared to the other python JSON implementations which are written + directly in python. This speed gain varies with the complexity of + the data and the operation and is the the range of 10-200 times for + encoding operations and in the range of 100-250 times for decoding + operations. + + + python-cjson + + diff --git a/dev-python/python-cjson/python-cjson-1.1.0.ebuild b/dev-python/python-cjson/python-cjson-1.1.0.ebuild new file mode 100644 index 0000000000000..cb2dfd70af261 --- /dev/null +++ b/dev-python/python-cjson/python-cjson-1.1.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Fast JSON encoder/decoder for Python" +HOMEPAGE="http://ag-projects.com/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/python-eventlib/Manifest b/dev-python/python-eventlib/Manifest new file mode 100644 index 0000000000000..6ce51e624262a --- /dev/null +++ b/dev-python/python-eventlib/Manifest @@ -0,0 +1 @@ +DIST python-eventlib-0.2.1.tar.gz 189314 SHA256 25224794420f430946fe46932718b521a6264903fe8c0ed3563dfdb844c623e7 SHA512 f1ca3c6eb54677068ec209386f09c695c141b08e148475ee3cc69e667dd96af3637a66660e9105a195620f3bde10d4b18087612c501764d52413982c2721e1a6 WHIRLPOOL a95ac7283d1425161d190c17ceb7d58ff81a3ec9aa09066226c177a4d7343c2f99ea19c7866d4a03d281241337efa877020c85956c7c81cfb0444e457fda9f9f diff --git a/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch b/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch new file mode 100644 index 0000000000000..faa410352627a --- /dev/null +++ b/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch @@ -0,0 +1,14 @@ +From: Julian Ospald +Date: Tue Sep 8 01:22:40 UTC 2015 +Subject: fix compatibility with libressl + +--- a/eventlib/green/socket.py ++++ b/eventlib/green/socket.py +@@ -89,7 +89,6 @@ + else: + # some constants the SSL module exports but not in __all__ + from eventlib.green.ssl import (RAND_add, +- RAND_egd, + RAND_status, + SSL_ERROR_ZERO_RETURN, + SSL_ERROR_WANT_READ, diff --git a/dev-python/python-eventlib/metadata.xml b/dev-python/python-eventlib/metadata.xml new file mode 100644 index 0000000000000..a841434212dc5 --- /dev/null +++ b/dev-python/python-eventlib/metadata.xml @@ -0,0 +1,16 @@ + + + + python + + hasufell@gentoo.org + Julian Ospald + + + Eventlib is a networking library written in Python. It achieves + high scalability by using non-blocking io while at the same time + retaining high programmer usability by using coroutines to make + the non-blocking io operations appear blocking at the source code + level. + + diff --git a/dev-python/python-eventlib/python-eventlib-0.2.1.ebuild b/dev-python/python-eventlib/python-eventlib-0.2.1.ebuild new file mode 100644 index 0000000000000..e5be68ebf75c5 --- /dev/null +++ b/dev-python/python-eventlib/python-eventlib-0.2.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_REQ_USE="ssl" +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Coroutine-based networking library" +HOMEPAGE="http://sipsimpleclient.org" +SRC_URI="http://download.ag-projects.com/SipClient/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/twisted-core[${PYTHON_USEDEP}] +" + +PATCHES=( "${FILESDIR}/${P}-libressl.patch" ) diff --git a/dev-python/python-gnutls/Manifest b/dev-python/python-gnutls/Manifest new file mode 100644 index 0000000000000..98c57a6ec8215 --- /dev/null +++ b/dev-python/python-gnutls/Manifest @@ -0,0 +1 @@ +DIST python-gnutls-2.0.1.tar.gz 42560 SHA256 d8fb368c6a4dd58bc6cd5e61d4a12d119c4506fd344a371b3429b3ac2623b9ac SHA512 6dca8ba9e98e76add30502825f5711e3bc6f22b2a1e28416a3c1acacec41eb45e4e2f63c0185fa10f8e518df41f1093ba33ab33a5f69dd25300e17db1022b3df WHIRLPOOL 6094b85c04f3ea75d76c4e51b90a81f056ecd8e495d1670f2e5bb728b4047a6ef1fdedeeb2cf3f3be856d77f8f2306f5e2b257c233029597741028d162bb5a02 diff --git a/dev-python/python-gnutls/metadata.xml b/dev-python/python-gnutls/metadata.xml new file mode 100644 index 0000000000000..a1b5a57c78d6f --- /dev/null +++ b/dev-python/python-gnutls/metadata.xml @@ -0,0 +1,32 @@ + + + + python + + hasufell@gentoo.org + Julian Ospald + + + This package provides a high level object oriented wrapper around + libgnutls, as well as low level bindings to the GNUTLS types and + functions via ctypes. The high level wrapper hides the details of + accessing the GNUTLS library via ctypes behind a set of classes that + encapsulate GNUTLS sessions, certificates and credentials and expose + them to python applications using a simple API. + + The package also includes a Twisted interface that has seamless + intergration with Twisted, providing connectTLS and listenTLS methods + on the Twisted reactor once imported (the methods are automatically + attached to the reactor by simply importing the GNUTLS Twisted + interface module). + + The high level wrapper is written using the GNUTLS library bindings + that are made available via ctypes. This makes the wrapper very + powerful and flexible as it has direct access to all the GNUTLS + internals and is also very easy to extend without any need to write + C code or recompile anything. + + + python-gnutls + + diff --git a/dev-python/python-gnutls/python-gnutls-2.0.1.ebuild b/dev-python/python-gnutls/python-gnutls-2.0.1.ebuild new file mode 100644 index 0000000000000..8179f60a87a09 --- /dev/null +++ b/dev-python/python-gnutls/python-gnutls-2.0.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit distutils-r1 + +DESCRIPTION="High level object oriented wrapper around libgnutls" +HOMEPAGE="http://ag-projects.com/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" + +RDEPEND="net-libs/gnutls" diff --git a/dev-python/python-msrplib/Manifest b/dev-python/python-msrplib/Manifest new file mode 100644 index 0000000000000..bebf1f0e9dbce --- /dev/null +++ b/dev-python/python-msrplib/Manifest @@ -0,0 +1 @@ +DIST python-msrplib-0.18.0.tar.gz 30234 SHA256 72901c42cf05262890e3bb5ae37364f074632d067f139a8f71e395006e79e96e SHA512 ed260b0183aff543e115951f464d0e3934862439a7c049c3d19304c543805ee364129d2a99c0d132561c8ae0af9fc19cde460723f2754e973bf68a602a18db99 WHIRLPOOL b5edc6f87546173c384452ff1636b5d61a6ac893026362fbfd039a5c80b2fdd887f3eac1220db4843b85889be83658ac46ae5535247aaac2cd63385af03afee5 diff --git a/dev-python/python-msrplib/metadata.xml b/dev-python/python-msrplib/metadata.xml new file mode 100644 index 0000000000000..5ea4fe9779f0f --- /dev/null +++ b/dev-python/python-msrplib/metadata.xml @@ -0,0 +1,30 @@ + + + + python + + hasufell@gentoo.org + Julian Ospald + + + Message Session Relay Protocol (MSRP) is a protocol for transmitting a + series of related instant messages in the context of a session. Message + sessions are treated like any other media stream when set up via a + rendezvous or session creation protocol such as the Session Initiation + Protocol (SIP). + + A series of related instant messages between two or more parties can be + viewed as part of a "message session", that is, a conversational exchange + of messages with a definite beginning and end. This is in contrast to + individual messages each sent independently. Messaging schemes that track + only individual messages can be described as "page-mode" messaging, + whereas messaging that is part of a "session" with a definite start and + end is called "session-mode" messaging. + + Page-mode messaging is enabled in SIP via the SIP MESSAGE method, as + defined in RFC 3428. Session-mode messaging has a number of benefits + over page-mode messaging, however, such as explicit rendezvous, tighter + integration with other media-types, direct client-to-client operation, + and brokered privacy and security. + + diff --git a/dev-python/python-msrplib/python-msrplib-0.18.0.ebuild b/dev-python/python-msrplib/python-msrplib-0.18.0.ebuild new file mode 100644 index 0000000000000..6ca282d5f8e20 --- /dev/null +++ b/dev-python/python-msrplib/python-msrplib-0.18.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Client library for MSRP protocol and its relay extension" +HOMEPAGE="http://sipsimpleclient.org" +SRC_URI="http://download.ag-projects.com/MSRP/python-msrplib-${PV}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/python-application[${PYTHON_USEDEP}] + dev-python/python-eventlib[${PYTHON_USEDEP}] + dev-python/python-gnutls[${PYTHON_USEDEP}] + dev-python/twisted-core[${PYTHON_USEDEP}] + dev-python/twisted-names[${PYTHON_USEDEP}] +" diff --git a/dev-python/python-sipsimple/Manifest b/dev-python/python-sipsimple/Manifest new file mode 100644 index 0000000000000..afb8b46ccdd0c --- /dev/null +++ b/dev-python/python-sipsimple/Manifest @@ -0,0 +1 @@ +DIST python-sipsimple-2.5.1.tar.gz 4794640 SHA256 b7706e6a31edbffcac468a8b2df23cb75b34e8f21bcd702760c718a4f516fe6e SHA512 912fe763bfdc440984d08c5a7105db37322f24c3d8ddb1b4ab2bf9c59b21ae510b9b977a819b671369d9eaf0e6118ebc3b78402546a8d7b953ecd9a5b58d26df WHIRLPOOL 8f5c5d76a383a7c52b62fc1c85cf9d07ab2589a3adaf6572565fbaf1bc7fdcad54eab329b40d80696b6092e96ab058b493aca8c3597f9ed958577219c0683394 diff --git a/dev-python/python-sipsimple/metadata.xml b/dev-python/python-sipsimple/metadata.xml new file mode 100644 index 0000000000000..2b568d81a793b --- /dev/null +++ b/dev-python/python-sipsimple/metadata.xml @@ -0,0 +1,20 @@ + + + + python + + hasufell@gentoo.org + Julian Ospald + + + SIP SIMPLE client SDK is a Software Development Kit for easy + development of SIP end-points that support rich media like Audio, + Video, Instant Messaging, File Transfers, Desktop Sharing and Presence. + Other media types can be easily added by using an extensible high-level + API. + + The software has undergone in the past years several interoperability + tests at SIPIT (http://www.sipit.net) and today is of industry strength + quality. + + diff --git a/dev-python/python-sipsimple/python-sipsimple-2.5.1.ebuild b/dev-python/python-sipsimple/python-sipsimple-2.5.1.ebuild new file mode 100644 index 0000000000000..10e1c459f788d --- /dev/null +++ b/dev-python/python-sipsimple/python-sipsimple-2.5.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="SIP SIMPLE client SDK is a Software Development Kit" +HOMEPAGE="http://sipsimpleclient.org" +SRC_URI="http://download.ag-projects.com/SipClient/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" + +CDEPEND=" + dev-db/sqlite:3 + dev-libs/openssl:0 + dev-python/python-application[${PYTHON_USEDEP}] + media-libs/alsa-lib + media-libs/libv4l + media-libs/libvpx + sys-apps/util-linux + virtual/ffmpeg +" +RDEPEND="${CDEPEND} + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/python-cjson[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-eventlib[${PYTHON_USEDEP}] + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/python-gnutls[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/python-msrplib[${PYTHON_USEDEP}] + dev-python/python-xcaplib[${PYTHON_USEDEP}] + dev-python/twisted-core[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${CDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + virtual/pkgconfig +" diff --git a/dev-python/python-xcaplib/Manifest b/dev-python/python-xcaplib/Manifest new file mode 100644 index 0000000000000..d375d1adf13fc --- /dev/null +++ b/dev-python/python-xcaplib/Manifest @@ -0,0 +1 @@ +DIST python-xcaplib-1.1.0.tar.gz 22892 SHA256 2f8ea6fe7d005104ef1d854aa87bd8ee85ca242a70cde42f409f8e5557f864b3 SHA512 140a12e39decdd15c06816cf5969baaf82437f010592ee2f4b7309db585aaa6611ab3af50e399bb18d216ae1586b5ebf18490d74c385a99d6673171bcf437395 WHIRLPOOL 711eb094be643613a117044d2c3ea054bf728ff21a1efe668d27bebe912c67463cb15b8e0c052699f01439a6631c2570ba1e79d452cc5250383200fb2f54830b diff --git a/dev-python/python-xcaplib/metadata.xml b/dev-python/python-xcaplib/metadata.xml new file mode 100644 index 0000000000000..0dd9c1582327b --- /dev/null +++ b/dev-python/python-xcaplib/metadata.xml @@ -0,0 +1,22 @@ + + + + python + + hasufell@gentoo.org + Julian Ospald + + + XCAP protocol, defined in RFC 4825, allows a client to read, write, + and modify application configuration data stored in XML format on a + server. XCAP maps XML document sub-trees and element attributes to + HTTP URIs, so that these components can be directly accessed by HTTP. + An XCAP server used by XCAP clients to store data like presence + policy in combination with a SIP Presence server that supports + PUBLISH/SUBSCRIBE/NOTIFY SIP methods can provide a complete SIP + SIMPLE solution. + + The XCAP client example script provided by this package can be used to + manage documents on an XCAP server. + + diff --git a/dev-python/python-xcaplib/python-xcaplib-1.1.0.ebuild b/dev-python/python-xcaplib/python-xcaplib-1.1.0.ebuild new file mode 100644 index 0000000000000..e68c80ee93f2b --- /dev/null +++ b/dev-python/python-xcaplib/python-xcaplib-1.1.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_REQ_USE="ssl,xml" +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit distutils-r1 + +DESCRIPTION="Python library for managing XML documents on XCAP server" +HOMEPAGE="http://sipsimpleclient.org" +SRC_URI="http://download.ag-projects.com/XCAP/python-xcaplib-${PV}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/python-application[${PYTHON_USEDEP}] +" diff --git a/net-voip/blink/Manifest b/net-voip/blink/Manifest new file mode 100644 index 0000000000000..17866a17d2698 --- /dev/null +++ b/net-voip/blink/Manifest @@ -0,0 +1 @@ +DIST blink-1.4.1.tar.gz 1640252 SHA256 4e9fe9ccb62029085d551e82d7b1dd8e4d65ce15b35228e2a9a54c08ea1bec52 SHA512 9181eca2b9ee8b99a4c12ae8667b5988f86b1dda10afaf337b6b29dc2fa8733fc9737926014355c11a9913ebd5b406e2d241a4632bb19e4571ed7d318a15940b WHIRLPOOL 329589964e1ad575b1917661af874af1598b05110004ad07a86b1f7bb171eb797603c0c147359f1ad72c78e9af9f102c6a55e9053c1641b4d96b29017ad0f897 diff --git a/net-voip/blink/blink-1.4.1.ebuild b/net-voip/blink/blink-1.4.1.ebuild new file mode 100644 index 0000000000000..1ab78e46d6979 --- /dev/null +++ b/net-voip/blink/blink-1.4.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils gnome2-utils distutils-r1 + +DESCRIPTION="A state of the art, easy to use SIP client" +HOMEPAGE="http://iCanBlink.com" +SRC_URI="http://download.ag-projects.com/BlinkQt/blink-${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" + +CDEPEND="net-libs/libvncserver" +RDEPEND="${CDEPEND} + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/PyQt4[webkit,${PYTHON_USEDEP}] + dev-python/python-application[${PYTHON_USEDEP}] + dev-python/python-cjson[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-eventlib[${PYTHON_USEDEP}] + dev-python/python-sipsimple[${PYTHON_USEDEP}] + dev-python/twisted-core[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${CDEPEND} + dev-python/cython[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}/${P}-data-path.patch" ) + +src_install() { + distutils-r1_src_install + + newicon -s 48 resources/icons/blink48.png blink.png + newicon -s 64 resources/icons/blink64.png blink.png + doicon -s 512 resources/icons/blink.png + + make_desktop_entry ${PN} Blink +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/net-voip/blink/files/blink-1.4.1-data-path.patch b/net-voip/blink/files/blink-1.4.1-data-path.patch new file mode 100644 index 0000000000000..1add3ab55a237 --- /dev/null +++ b/net-voip/blink/files/blink-1.4.1-data-path.patch @@ -0,0 +1,19 @@ +From: Julian Ospald +Date: Tue Sep 8 10:10:18 UTC 2015 +Subject: Fix data path fallback + +Distutils installs into "/usr/share/blink", but +blink was unable to find it on gentoo, probably due +to python-exec magic. + +--- blink-1.4.1/blink/resources.py ++++ blink-1.4.1/blink/resources.py +@@ -71,7 +71,7 @@ + if os.path.exists(os.path.join(application_directory, 'resources', 'blink.ui')): + cls._cached_directory = os.path.join(application_directory, 'resources').decode(sys.getfilesystemencoding()) + else: +- cls._cached_directory = os.path.join(application_directory, 'share', 'blink').decode(sys.getfilesystemencoding()) ++ cls._cached_directory = os.path.join(sys.prefix, 'share', 'blink').decode(sys.getfilesystemencoding()) + return DirectoryContextManager(cls._cached_directory) + + @classmethod diff --git a/net-voip/blink/metadata.xml b/net-voip/blink/metadata.xml new file mode 100644 index 0000000000000..3a62548751665 --- /dev/null +++ b/net-voip/blink/metadata.xml @@ -0,0 +1,9 @@ + + + + python + + hasufell@gentoo.org + Julian Ospald + +