mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
seafile-libclient: update to 6.2.4, switch to python3, package split
This commit is contained in:
parent
a843b89f87
commit
0a2983dcd0
3 changed files with 31 additions and 11 deletions
1
srcpkgs/seafile-cli
Symbolic link
1
srcpkgs/seafile-cli
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
seafile-libclient
|
1
srcpkgs/seafile-libclient-python3
Symbolic link
1
srcpkgs/seafile-libclient-python3
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
seafile-libclient
|
|
@ -1,34 +1,31 @@
|
||||||
# Template file for 'seafile-libclient'
|
# Template file for 'seafile-libclient'
|
||||||
pkgname=seafile-libclient
|
pkgname=seafile-libclient
|
||||||
version=6.1.8
|
version=6.2.4
|
||||||
revision=3
|
revision=1
|
||||||
_distname="${pkgname/-libclient/}"
|
_distname="${pkgname/-libclient/}"
|
||||||
wrksrc="${_distname}-${version}"
|
wrksrc="${_distname}-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="PYTHON=python3 --disable-static"
|
||||||
hostmakedepends="automake intltool libsearpc-codegen libtool pkg-config vala"
|
hostmakedepends="automake intltool libsearpc-codegen libtool pkg-config vala"
|
||||||
makedepends="ccnet-devel libcurl-devel"
|
makedepends="libglib-devel libuuid-devel libsearpc-devel sqlite-devel
|
||||||
depends="python"
|
libevent-devel libcurl-devel"
|
||||||
short_desc="Cloud storage system - client command-line and libraries"
|
short_desc="Cloud storage system - library"
|
||||||
maintainer="yopito <pierre.bourgin@free.fr>"
|
maintainer="yopito <pierre.bourgin@free.fr>"
|
||||||
license="GPL-2.0-or-later" # Has openssl exception not yet present on SPDX
|
license="GPL-2.0-or-later" # Has openssl exception not yet present on SPDX
|
||||||
homepage="https://github.com/haiwen/seafile"
|
homepage="https://github.com/haiwen/seafile"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz>${_distname}-${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz>${_distname}-${version}.tar.gz"
|
||||||
checksum=5d0b525446c1e15ffb7754ab0cc6bb1ea9d294dc1dddc7c6583a24780850ba24
|
checksum=3972073608692de6c0b254a6d5fa711ac3697174be0a06d1930b3830e643f711
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# remove server files
|
|
||||||
rm -rf "${DESTDIR}/usr/lib/python2.7/site-packages/seaserv"
|
|
||||||
|
|
||||||
vdoc README.markdown
|
vdoc README.markdown
|
||||||
}
|
}
|
||||||
|
|
||||||
seafile-libclient-devel_package() {
|
seafile-libclient-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc="Cloud storage system - development files"
|
||||||
depends="seafile-libclient>=${version}_${revision} glib-devel libsearpc-devel jansson-devel"
|
depends="seafile-libclient>=${version}_${revision} glib-devel libsearpc-devel jansson-devel"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vdoc README.markdown
|
vdoc README.markdown
|
||||||
|
@ -37,3 +34,24 @@ seafile-libclient-devel_package() {
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
seafile-libclient-python3_package() {
|
||||||
|
short_desc="Cloud storage system - Python3 bindings"
|
||||||
|
pycompile_module="seafile"
|
||||||
|
depends="libsearpc-python3"
|
||||||
|
noarch=yes
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
seafile-cli_package() {
|
||||||
|
short_desc="Cloud storage system - client CLI"
|
||||||
|
depends="seafile-libclient-python3 ${sourcepkg}>=${version}_${revision}"
|
||||||
|
python_version=3
|
||||||
|
noarch=yes
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/seaf-cli
|
||||||
|
vmove usr/share/man/man1/seaf-cli.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue