thrift-py.paketlendi
This commit is contained in:
parent
40bcc6b51b
commit
67eb31bd87
|
@ -0,0 +1,14 @@
|
||||||
|
# Description: python3 için thrift kütüphanesi
|
||||||
|
# URL: https://thrift.apache.org/
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: python3 python3-setuptools thrift
|
||||||
|
|
||||||
|
name=python3-thrift
|
||||||
|
version=0.10.0
|
||||||
|
release=1
|
||||||
|
source=(https://pypi.python.org/packages/a3/ea/84a41e03f1ab14fb314c8bcf1c451090efa14c5cdfb9797d1079f502b54e/thrift-0.10.0.zip)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "thrift-${version}"
|
||||||
|
python3 setup.py install --root=$PKG --optimize=1
|
||||||
|
}
|
|
@ -33,7 +33,7 @@ build() {
|
||||||
--without-nodejs \
|
--without-nodejs \
|
||||||
--without-tests
|
--without-tests
|
||||||
|
|
||||||
make
|
make -j2
|
||||||
make DESTDIR="$PKG" install
|
make DESTDIR="$PKG" install
|
||||||
install -m0644 -D contrib/thrift.vim "$PKG"/usr/share/vim/vimfiles/syntax/thrift.vim
|
install -m0644 -D contrib/thrift.vim "$PKG"/usr/share/vim/vimfiles/syntax/thrift.vim
|
||||||
install -m0644 -D contrib/thrift.el "$PKG"/usr/share/emacs/site-lisp/thrift.el
|
install -m0644 -D contrib/thrift.el "$PKG"/usr/share/emacs/site-lisp/thrift.el
|
||||||
|
|
Loading…
Reference in New Issue