diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-04-22 18:35:18 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-04-22 18:35:18 +0000 |
commit | 3de5ad2c0fe33218eef113631939bccb9d0e9f20 (patch) | |
tree | f8f64f3a73ff7263624cd19c3621fad421296903 /www-apps | |
parent | Fix last commit. (diff) | |
download | historical-3de5ad2c0fe33218eef113631939bccb9d0e9f20.tar.gz historical-3de5ad2c0fe33218eef113631939bccb9d0e9f20.tar.bz2 historical-3de5ad2c0fe33218eef113631939bccb9d0e9f20.zip |
Convert to distutils-r1.
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/trac/ChangeLog | 9 | ||||
-rw-r--r-- | www-apps/trac/Manifest | 35 | ||||
-rw-r--r-- | www-apps/trac/trac-1.0.1-r1.ebuild | 115 |
3 files changed, 141 insertions, 18 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog index 2c278dc64f0b..de4d8d1885ba 100644 --- a/www-apps/trac/ChangeLog +++ b/www-apps/trac/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/trac -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.139 2013/05/03 13:30:51 ago Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.140 2014/04/22 18:35:17 mgorny Exp $ + +*trac-1.0.1-r1 (22 Apr 2014) + + 22 Apr 2014; Michał Górny <mgorny@gentoo.org> +trac-1.0.1-r1.ebuild: + Convert to distutils-r1. 03 May 2013; Agostino Sarubbo <ago@gentoo.org> trac-1.0.1.ebuild: Stable for ppc, wrt bug #468372 diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest index 09ddeb7c4fab..7849073785ee 100644 --- a/www-apps/trac/Manifest +++ b/www-apps/trac/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX 1.0.1-git-identity.patch 1691 SHA256 2ffbc7093cbdb6eefa7e4e936f25bdbbbf8b34a145c21e49116fb374c5e5b82b SHA512 02f51cec8633195befdb39e10057fafed5faaace6a8e0e4d14334cbb77af0e3a397c531d25c14da6f5851de0974516b9d9ce391329a6b8de8b984fb934ad0c70 WHIRLPOOL 1a294cd7cca5cccfee2b3dacd251e55ae918fa28efad15f98013ab45730e2965fd1875af6ba1b21a4ef8d52472b0a24109e4ab9dda0ee204c54fb943f10f17bc AUX postinst-en.txt 1331 SHA256 1799cf63e70e2ed7c3b1a1148b29ce456dda8e84ef137605549de7f1e2856a95 SHA512 6bde40a16545462ef0d8654ffc860e031f5978a253b0fe68df24b18a281f396fd560e4b39a6c53ecee52c9be941ca83dccd1aee9a98dccf570a9f5b0f0c6bbaf WHIRLPOOL d082aec44d057e3e0a7ccae6989a09c6c2e259bcc896cdd2bbea650c69c069fb9cbae7abd0db46f6c1cf6888cc36656a6a7271e2dfc962e21c5fa74708740ad8 @@ -10,24 +10,27 @@ DIST Trac-0.12.3.tar.gz 2239934 SHA256 0eefacc5ebb91158ed7351b8f9b2eec7f45ce03b6 DIST Trac-1.0.1.tar.gz 3479896 SHA256 9dd49065696a8d4dfcb1a1af81e51d6bd487f5a1e72b3325c1fe4ecb5c490adb SHA512 844272eb52a35bf0d8a08d6e9b24d7085adf3c4a5c0433031673b2b754df56985537fe54ce06abee7e6c5ccfd5de40381478edbcd656a7d42e1c40fe8014203a WHIRLPOOL c795fab244c42752e1c7d2a0e488b1c062333a6de01e607b749271f0124c16746b55ad35a69b6844db272f7223179d6f29f9115abb5289f6af1bdf467394b1a5 DIST Trac-1.0.tar.gz 3041136 SHA256 40ab9d040388fde06714f3618de32c5c22e6fa64106372e4b808d91b03b7f8e8 SHA512 66b5230d3f38b07a1c547df397fc6e301f51c3ce1b2b71eaeec35dff3f94794f02d54f9040f10b60ee87501e2022c0134d6a6358b12031f6ee527cdf47ff7164 WHIRLPOOL 1335d0329239d91131e3a4931b6a3dcd0a9ad4d8b216ace80e5e5f462acc32c35ecf4edbba434f6e4a4939dff94cb34d508d0cb241ae9b691a5f38b10c06c302 EBUILD trac-0.12.3.ebuild 2537 SHA256 8b69167252acd30ff7e439794c9e047963abe778d2fe5065c437dbfbb47a27e4 SHA512 f6f7305ce449776eca6f69eb131415e6afbfa07e275ff3175b0b0fc27764ac9571f42c506c70960ca74deb8bb2d08974a485579c6a2e3a527a1710dee6655f5d WHIRLPOOL 689a4ff2a433ae3b7028a9d2de36a84ddaa27983a83c07db15c1135ac19787b4ccb24958dcaca3f3a1bd5327c4f4b8ea4204ea081b9f9ab06e3fd6bca940e9a9 +EBUILD trac-1.0.1-r1.ebuild 2758 SHA256 f6e0434726a46db9e6ebf6dab2edfe7b676fd7320cd3f589b93664ca8be78080 SHA512 df47a1c16175843d308cc0e1887566b8d14b6597746c664a831a8caa50d6df29a39b71ed290e0bbc15f0606db00894b98f95d75f162b1e76784b768625146e4a WHIRLPOOL 04ab252d40b6171445107a2b3978d6a5daf689f3d1aea5918ae8c834ef1837cc1c59b212e2a2b746cef1ae5e27dbbd3694779b9cdf25a5f059b826199621b021 EBUILD trac-1.0.1.ebuild 2624 SHA256 7398046b74adf420ba3f689166b54996be126133639869902a84396e8b850784 SHA512 90ccbbb24ac8dd85581894702da03321c38071c4f408b7bb7a0ab46235176fa48fa183c46ec40b2411dc5a50dcefe9337f04220c887e10c86408c522eb727872 WHIRLPOOL b9456fbca239c3225052860f8c352feb2a2eefbbd0966ce52d4b14c867ff3034743419ee340a8e7d8717f0ef03d263fdf87cc332cbd8a302ca0736d1f7110889 EBUILD trac-1.0.ebuild 2549 SHA256 6dd61a9b634ada6b90a5f8cbaabf51d373620d064af2388e4f36bf556de93e65 SHA512 a9f8f39c8ab23e0635502bff1677480a1d605ed5161a63fe2dcafdd0d07bfe32d607f610a331417c44d48e781cf0b9d5a3f459289b769748b884467a4d166861 WHIRLPOOL c417cc4e962194f50e99c2dec1f94a19d8d9930f0c34dba02abc9583c745e4356ce1cdc3ad0e5944fe5e1ca95bc7f12fab1f47f16a8e1df56dd6910bfbdd6bc2 -MISC ChangeLog 20397 SHA256 240ec06290834b28f7050097b5e5cd83849059823cdc6d1d0fc774b242692ce8 SHA512 c1295fa80d8f43e0dd48918a4005ece7ec9396dd44c7e17b0f32da58ec3e172df6214fd982c531c6650d2e2329c8fb9f21115c9306c19319e94aa3ff6c5bf090 WHIRLPOOL 08ea8079e96dc329303971582c09153c2b6dc0653fd5c5e07add82f7ad8f65fff48cd8e222939a7f82a1cac320c92ff20c0005ccc17c668c328aaffc8de82d18 +MISC ChangeLog 20531 SHA256 7731390cd2d0f8e005b499b7cb7530ed8baee07009e98b02d1b7e9e1f29d3f62 SHA512 bae77b9ce4d2fc360d7f82e7e0f82f389a36d8577c4c14824ee8a25df2f2e17882186ddcca21794dec24598084cfb54331411d6f4a8b621b268c72c6aa920b05 WHIRLPOOL f6f5b078885c8165d246440c591efe1847b8e963cca28ed1a8d3ac955c9ccc4282cb51be1fda9eff2ff377523b0c136b8ada4cec1701d9adbcf80388767f37e1 MISC metadata.xml 353 SHA256 12d6ceeed2212b5daf258a1dc4fee3fb6acd607e866e4062a907c157ac387059 SHA512 91ea81b7eb3471f855e1b697629bcd70c8bd20fbedb601d52580fc8f652d4444ff62fe3ae1052e440b9691962b1a3b942d8c2ca739c432c505f3c798128c1e3c WHIRLPOOL ad21708451d96efaf7aec37feff0e6e4eda8ffda9ee7a8483da15a529aa0ba1eee840efd73638d3a7922c8a33345ef4fd4797dbc22e99be902f1e37559ff9cd1 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCgAGBQJRg7tsAAoJELp701BxlEWfNAoQAJOWA1VjS6uSU2u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uFBAnFY8bZJ9H +sFiW2hRH7N75t/d4TwckNnr7fDmObzgiLc4Xq7dbsYDXHsjno7Bzucbh5vncPYXv +SmwAegzG9Kvc3j7FArpA1he/99xEwldWKLEZNxYtYwTdA2aYjtJUMxCl3woqncCT +maI9kPQmPdVeaSspX1ndMLGwoEkCtYdVUueVlRlH0IUsQsGgzSjcLwXURbBp1TU+ +gT2Do/yc7+oLkjEEZS5Qw9W64hSxkj9RVoRKBb7o1+nL61qvQESDBfrvtCrsB0HG +A9F5qRSltgY1E4Aa5HYaVTm3Y9GZEn+sYY7ysj7a+p5ZJbTEASgFw1ZcMse1jU2J ++om0YGrvi4r7A5nv/hSduGwJ+i0tJ3QgjoMceRTuLD/jR5MO7wZli0PN376ns/IR +Pk1jawitHDWc749Q/FGuPT3opg7csjFW7Rq5qcYsBR0szzaSvfMH5LvTOqf9cnQE +hPIks4EavxKj1MNjcV8z +=KByl -----END PGP SIGNATURE----- diff --git a/www-apps/trac/trac-1.0.1-r1.ebuild b/www-apps/trac/trac-1.0.1-r1.ebuild new file mode 100644 index 000000000000..b9d5d54aeca2 --- /dev/null +++ b/www-apps/trac/trac-1.0.1-r1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-1.0.1-r1.ebuild,v 1.1 2014/04/22 18:35:17 mgorny Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE='sqlite?' + +inherit distutils-r1 eutils user webapp + +MY_PV=${PV/_beta/b} +MY_P=Trac-${MY_PV} + +DESCRIPTION="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system" +HOMEPAGE="http://trac.edgewall.com/ http://pypi.python.org/pypi/Trac" +SRC_URI="http://ftp.edgewall.com/pub/trac/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="cgi fastcgi i18n mysql postgres +sqlite subversion test" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/genshi[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_USEDEP}] ) + cgi? ( virtual/httpd-cgi ) + fastcgi? ( virtual/httpd-fastcgi ) + mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) + postgres? ( >=dev-python/psycopg-2[${PYTHON_USEDEP}] ) + sqlite? ( + >=dev-db/sqlite-3.3.4 + ) + subversion? ( dev-vcs/subversion[python,${PYTHON_USEDEP}] ) + " +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +WEBAPP_MANUAL_SLOT="yes" + +pkg_setup() { + webapp_pkg_setup + + enewgroup tracd + enewuser tracd -1 -1 -1 tracd +} + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/${PV}-git-identity.patch" + ) + +# use test && python_copy_sources + + distutils-r1_python_prepare_all +} + +src_test() { + local DISTUTILS_NO_PARALLEL_BUILD=1 + + distutils-r1_src_test +} + +python_test() { + PYTHONPATH=. "${PYTHON}" trac/test.py || die "Tests fail with ${EPYTHON}" +} + +python_test_all() { + if use i18n; then + make check + fi +} + +# the default src_compile just calls setup.py build +# currently, this switches i18n catalog compilation based on presence of Babel + +src_install() { + webapp_src_preinst + distutils-r1_src_install + + # project environments might go in here + keepdir /var/lib/trac + + # Use this as the egg-cache for tracd + dodir /var/lib/trac/egg-cache + keepdir /var/lib/trac/egg-cache + fowners tracd:tracd /var/lib/trac/egg-cache + + # documentation + dodoc -r contrib + + # tracd init script + newconfd "${FILESDIR}"/tracd.confd tracd + newinitd "${FILESDIR}"/tracd.initd tracd + + if use cgi; then + cp contrib/cgi-bin/trac.cgi "${ED}${MY_CGIBINDIR}" || die + fi + if use fastcgi; then + cp contrib/cgi-bin/trac.fcgi "${ED}${MY_CGIBINDIR}" || die + fi + + for lang in en; do + webapp_postinst_txt ${lang} "${FILESDIR}"/postinst-${lang}.txt + webapp_postupgrade_txt ${lang} "${FILESDIR}"/postupgrade-${lang}.txt + done + + webapp_src_install +} |