removed calibre

This commit is contained in:
K D Hedger
2017-11-21 14:05:22 +00:00
parent ab4d67cc1a
commit 7afc6f1da6
6 changed files with 124 additions and 115 deletions

View File

@ -0,0 +1 @@
lxml (Python bindings for libxml2 and libxslt) lxml is a Pythonic binding for the libxml2 and libxslt libraries. It is unique in that it combines the speed and feature completeness of these libraries with the simplicity of a native Python API. Homepage: http://codespeak.net/lxml/

View File

@ -0,0 +1,55 @@
#!/bin/bash -e
. /usr/share/LFSPkg/LFSFunctions
DEPENDS="python-2.7.13"
if ! lfspkg -B "$DEPENDS";then
exit 100
fi
PKGNAME="lxml"
TARNAME="$PKGNAME"
VERSION="3.8.0"
BUILD=1
SECTION="PYTHON"
SUFFIX="LFSPKG"
TARBALL="${TARNAME}-${VERSION}.tar.gz"
scriptLog "${PKGNAME}-${VERSION}"
gettar "https://github.com/${PKGNAME}/${PKGNAME}/archive/${TARNAME}-${VERSION}/${PKGNAME}-${TARBALL}" $SECTION
PKG="${OUTPUT}/${PKGNAME}"
#https://github.com/lxml/lxml/archive/lxml-3.8.0/lxml-lxml-3.8.0.tar.gz
DOWHAT=${1:-"build"}
rm -rf "$PKG" || true
mkdir -p "$PKG"
tar -xvf "${SOURCEARCHIVES}/${SECTION}/${PKGNAME}-${TARBALL}"
pushd "${PKGNAME}-${TARNAME}-${VERSION}"
python setup.py build --with-unicode-strings
python setup.py install --skip-build --root=$PKG
popd
checketc "$PKG"
packageclean "$PKG"
cp ./info "$PKG" &>/dev/null || true
pushd "$PKG"
/usr/bin/lfspkg -n "$PKGNAME" -p "$VERSION" -d $SECTION -b $BUILD -s $SUFFIX -m
popd
case $DOWHAT in
up*)
lfspkg "^${PKGNAME}-[0-9][0-9]*" "${OUTPUT}/${SECTION}/${PKGNAME}-${VERSION}-${BUILD}_${SECTION}_${SUFFIX}.tar.gz" -u
;;
"install")
lfspkg "${OUTPUT}/${SECTION}/${PKGNAME}-${VERSION}-${BUILD}_${SECTION}_${SUFFIX}.tar.gz" -i
;;
"build")
echo "Just built"
;;
*)
echo "*** Unknown command ***"
exit 1
esac
rm -r "$PKG" "${PKGNAME}-${TARNAME}-${VERSION}"