summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/calibre/calibre-3.26.1-r1.ebuild2
-rw-r--r--app-text/calibre/calibre-3.44.0.ebuild4
-rw-r--r--app-text/calibre/calibre-3.46.0-r1.ebuild4
3 files changed, 2 insertions, 8 deletions
diff --git a/app-text/calibre/calibre-3.26.1-r1.ebuild b/app-text/calibre/calibre-3.26.1-r1.ebuild
index 5fb25df4b35e..c92715c1e5f5 100644
--- a/app-text/calibre/calibre-3.26.1-r1.ebuild
+++ b/app-text/calibre/calibre-3.26.1-r1.ebuild
@@ -206,8 +206,6 @@ src_install() {
[[ -e ${x} ]] && addpredict ${x}
done
- #dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
- #dodir $(python_get_sitedir)
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
"${PYTHON}" setup.py install \
--root="${D}" \
diff --git a/app-text/calibre/calibre-3.44.0.ebuild b/app-text/calibre/calibre-3.44.0.ebuild
index 2459339e2595..9b8c29fcc23b 100644
--- a/app-text/calibre/calibre-3.44.0.ebuild
+++ b/app-text/calibre/calibre-3.44.0.ebuild
@@ -196,8 +196,6 @@ src_install() {
addpredict /dev/dri #665310
- #dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
- #dodir $(python_get_sitedir)
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
"${PYTHON}" setup.py install \
--root="${D}" \
@@ -252,7 +250,7 @@ pkg_preinst() {
pkg_postinst() {
[[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
local x
- for x in "${EROOT%/}${CALIBRE_LIB_DIR}"/*; do
+ for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
elog "Purging '${x}'"
rm -rf "${x}"
diff --git a/app-text/calibre/calibre-3.46.0-r1.ebuild b/app-text/calibre/calibre-3.46.0-r1.ebuild
index 2459339e2595..9b8c29fcc23b 100644
--- a/app-text/calibre/calibre-3.46.0-r1.ebuild
+++ b/app-text/calibre/calibre-3.46.0-r1.ebuild
@@ -196,8 +196,6 @@ src_install() {
addpredict /dev/dri #665310
- #dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
- #dodir $(python_get_sitedir)
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
"${PYTHON}" setup.py install \
--root="${D}" \
@@ -252,7 +250,7 @@ pkg_preinst() {
pkg_postinst() {
[[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
local x
- for x in "${EROOT%/}${CALIBRE_LIB_DIR}"/*; do
+ for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
elog "Purging '${x}'"
rm -rf "${x}"