summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-08-15 12:47:12 -0700
committerZac Medico <zmedico@gentoo.org>2019-08-15 12:48:33 -0700
commit07d3becfcbb27d4f00ac8f34f165aab0ba99c34d (patch)
tree606bb5c20b50b44dc956761b2f735fcf5be84a9c /app-text/calibre
parentmedia-gfx/librecad: Removed unused flag 3d (diff)
downloadgentoo-07d3becfcbb27d4f00ac8f34f165aab0ba99c34d.tar.gz
gentoo-07d3becfcbb27d4f00ac8f34f165aab0ba99c34d.tar.bz2
gentoo-07d3becfcbb27d4f00ac8f34f165aab0ba99c34d.zip
app-text/calibre: fix gentoo-ci lint
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-text/calibre')
-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}"