diff options
author | Joonas Niilola <juippis@gentoo.org> | 2021-02-11 09:22:00 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-02-11 09:23:41 +0200 |
commit | 233fc6351d0432ada5df2f6e52ad85725a9b7a8d (patch) | |
tree | 4a2c11eafbd25e63e5b0136c99aef9765e7b54b0 /www-apps | |
parent | www-apps/radicale: bump to 2.1.12-r3 (diff) | |
download | gentoo-233fc6351d0432ada5df2f6e52ad85725a9b7a8d.tar.gz gentoo-233fc6351d0432ada5df2f6e52ad85725a9b7a8d.tar.bz2 gentoo-233fc6351d0432ada5df2f6e52ad85725a9b7a8d.zip |
www-apps/radicale: ebuild enchancements
- add DISTUTILS_USE_SETUPTOOLS,
- drop the revision bump,
- remove bunch of unused code,
- sort the RDEPEND list.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/radicale/radicale-2.1.12.ebuild (renamed from www-apps/radicale/radicale-2.1.12-r3.ebuild) | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/www-apps/radicale/radicale-2.1.12-r3.ebuild b/www-apps/radicale/radicale-2.1.12.ebuild index 85a6b5f135be..aef65e3ee5dd 100644 --- a/www-apps/radicale/radicale-2.1.12-r3.ebuild +++ b/www-apps/radicale/radicale-2.1.12.ebuild @@ -3,6 +3,7 @@ EAPI="7" +DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{7,8} ) inherit distutils-r1 eutils systemd @@ -22,42 +23,15 @@ IUSE="+bcrypt" RDEPEND=" acct-user/radicale acct-group/radicale - sys-apps/util-linux >=dev-python/vobject-0.9.6[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.7.3[${PYTHON_USEDEP}] + sys-apps/util-linux bcrypt? ( dev-python/passlib[bcrypt,${PYTHON_USEDEP}] )" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" RDIR=/var/lib/${PN} -#pkg_pretend() { -# if [[ -f ${RDIR}/.props && ${MERGE_TYPE} != buildonly ]]; then -# eerror "It looks like you have a version 1 database in ${RDIR}." -# eerror "You must convert this database to version 2 format before upgrading." -# eerror "You may want to back up the old database before migrating." -# eerror -# eerror "If you have kept the Gentoo-default database configuration, this will work:" -# eerror "1. Stop any running instance of Radicale." -# eerror "2. Run \`radicale --export-storage ~/radicale-exported\`." -# eerror "3. Run \`chown -R radicale: ~/radicale-exported\`" -# eerror "4. Run \`mv \"${RDIR}\" \"${RDIR}.old\"\`." -# eerror "5. Install Radicale version 2." -# eerror "6. Run \`mv ~/radicale-exported \"${RDIR}/collections\"\`." -# eerror -# eerror "For more details, or if you are have a more complex configuration," -# eerror "please see the migration guide: https://radicale.org/1to2/" -# eerror "If you do a custom migration, please ensure the database is cleaned out of" -# eerror "${RDIR}, including the hidden .props file." -# die -# fi -#} - -#pkg_setup() { -# enewgroup ${PN} -# enewuser ${PN} -1 -1 ${RDIR} ${PN} -#} - python_install_all() { rm README* || die |