summaryrefslogtreecommitdiff
path: root/packages/python/python-rpyc_3.00.bb
blob: b11856b713e76de347e2dd139bbd0c8b112adb89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
DESCRIPTION = "RPyC is a Remote Procedure Call Package for Python"
SECTION = "devel/python"
HOMEPAGE = "http://rpyc.wikizone.com"
LICENSE = "GPL"
SRCNAME = "rpyc"
PR = "ml0"

SRC_URI = "${SOURCEFORGE_MIRROR}/rpyc/${SRCNAME}-${PV}-dev.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}-dev/build"

inherit distutils

do_configure_prepend() {
	cd ..
	rm -rf build
	mkdir build
	mkdir build/rpyc
	
	cp README build
	cp setup.py build
	cp __init__.py build/rpyc
	cp license.py build/rpyc
	cp -r core build/rpyc/
	cp -r servers build/rpyc/
	cp -r utils build/rpyc/
	
	cd build
	find . -name "*.pyc" | xargs rm -f
}