mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 17:11:34 +02:00
Upgraded the ws4py Portage package
Upgraded dev-python/ws4py to version 0.2.1 on amd64, arm, x86 BUG=None TEST=emerged, built dependent package Change-Id: I34ba55177e6880aa6471e04bded72d3cbf9575a0 Reviewed-on: https://gerrit.chromium.org/gerrit/20585 Tested-by: Jon Salz <jsalz@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: Jon Salz <jsalz@chromium.org>
This commit is contained in:
parent
d9069c110d
commit
4b62e11fd4
1
sdk_container/src/third_party/portage-stable/dev-python/ws4py/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/dev-python/ws4py/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
||||
DIST ws4py-0.2.1-src.tar.gz 1858090 RMD160 994cd2b0cb73cd3f04efdfcbd25df01ad380f131 SHA1 5967f99fac74bf890e1ecca996ba839c57c99673 SHA256 8f902a5be5bed493392ccbabd71406c113c89f973a0d635d7ed35a4d8ec932c5
|
36
sdk_container/src/third_party/portage-stable/dev-python/ws4py/ws4py-0.2.1.ebuild
vendored
Normal file
36
sdk_container/src/third_party/portage-stable/dev-python/ws4py/ws4py-0.2.1.ebuild
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ws4py-0.2.1.ebuild,v 1.1 2012/04/17 23:09:11 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit distutils
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://github.com/Lawouach/WebSocket-for-Python.git"
|
||||
inherit git-2
|
||||
else
|
||||
inherit vcs-snapshot
|
||||
SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/tarball/v${PV} -> ${P}-src.tar.gz"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="WebSocket support for Python"
|
||||
HOMEPAGE="https://github.com/Lawouach/WebSocket-for-Python"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
#IUSE="client server"
|
||||
|
||||
# The gevent package isn't in the tree yet.
|
||||
#RDEPEND="client? ( >=dev-python/gevent-0.13.6 )
|
||||
# server? ( >=dev-python/gevent-0.13.6 )"
|
||||
DEPEND=""
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
#use client || rm -rf "${ED}$(python_get_sitedir)"/ws4py/client
|
||||
#use server || rm -rf "${ED}$(python_get_sitedir)"/ws4py/server
|
||||
rm -rf "${ED}$(python_get_sitedir)"/ws4py/{client,server}
|
||||
}
|
45
sdk_container/src/third_party/portage-stable/eclass/vcs-snapshot.eclass
vendored
Normal file
45
sdk_container/src/third_party/portage-stable/eclass/vcs-snapshot.eclass
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.2 2012/03/19 08:52:49 mgorny Exp $
|
||||
|
||||
# @ECLASS: vcs-snapshot.eclass
|
||||
# @MAINTAINER:
|
||||
# mgorny@gentoo.org
|
||||
# @BLURB: support eclass for VCS (github, bitbucket, gitweb) snapshots
|
||||
# @DESCRIPTION:
|
||||
# This eclass provides a convenience src_unpack() which does support
|
||||
# working with snapshots generated by various VCS-es. It unpacks those
|
||||
# to ${S} rather than the original directory containing commit id.
|
||||
#
|
||||
# Note that this eclass handles only unpacking. You need to specify
|
||||
# SRC_URI yourself, and call any autoreconfiguration as necessary.
|
||||
# The example does that using autotools-utils eclass.
|
||||
#
|
||||
# Right now, the eclass was tested with github, bitbucket and gitweb
|
||||
# snapshots. Feel free to report snapshotting services which aren't
|
||||
# working.
|
||||
# @EXAMPLE:
|
||||
#
|
||||
# @CODE
|
||||
# EAPI=4
|
||||
# AUTOTOOLS_AUTORECONF=1
|
||||
# inherit autotools-utils vcs-snapshot
|
||||
#
|
||||
# SRC_URI="http://github.com/example/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
# @CODE
|
||||
|
||||
case ${EAPI:-0} in
|
||||
0|1) die "EAPI ${EAPI} unsupported.";; # default(), SRC_URI arrows
|
||||
2|3|4) ;;
|
||||
*) die "vcs-snapshot.eclass API in EAPI ${EAPI} not yet established."
|
||||
esac
|
||||
|
||||
EXPORT_FUNCTIONS src_unpack
|
||||
|
||||
vcs-snapshot_src_unpack() {
|
||||
default
|
||||
|
||||
# github, bitbucket: username-projectname-hash
|
||||
# gitweb: projectname-tagname-hash
|
||||
mv *-*-[0-9a-f]*[0-9a-f]/ "${S}" || die
|
||||
}
|
12
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/ws4py-0.2.1
vendored
Normal file
12
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/ws4py-0.2.1
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile install postinst postrm prepare setup unpack
|
||||
DEPEND=>=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
DESCRIPTION=WebSocket support for Python
|
||||
EAPI=4
|
||||
HOMEPAGE=https://github.com/Lawouach/WebSocket-for-Python
|
||||
KEYWORDS=amd64 arm x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/Lawouach/WebSocket-for-Python/tarball/v0.2.1 -> ws4py-0.2.1-src.tar.gz
|
||||
_eclasses_=distutils b4c334e216d998c4ce4b750cb091e42e multilib 5f4ad6cf85e365e8f0c6050ddd21659e python 6bbd984910e27780e5d0ea543d83ef84 toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68 vcs-snapshot da01f8084931ab770fd9ddf7e537a262
|
||||
_md5_=91b0ec59e300530c701a6c5cce6fa3f0
|
Loading…
x
Reference in New Issue
Block a user