diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/translationstring |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/translationstring')
-rw-r--r-- | dev-python/translationstring/Manifest | 5 | ||||
-rw-r--r-- | dev-python/translationstring/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/translationstring/translationstring-1.3.ebuild | 40 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/translationstring/Manifest b/dev-python/translationstring/Manifest new file mode 100644 index 000000000000..cc6b1b7de4bf --- /dev/null +++ b/dev-python/translationstring/Manifest @@ -0,0 +1,5 @@ +DIST translationstring-1.3.tar.gz 29259 SHA256 4ee44cfa58c52ade8910ea0ebc3d2d84bdcad9fa0422405b1801ec9b9a65b72d SHA512 deba5b460d9ea640087cff8b5d7b9256708abd4340a54556f1f0542e2e4f9f0ae0a3482b66a176712fcd6925c470da621adbc5e4c4173c0ef29b9cca5fba1102 WHIRLPOOL bfc0f2d469718d6b27083feb10189dcab4e310183604c550314f4ecffaf38a8738bf2213e03eece6ce52dbf914c70b0629a44e5d1d7d1dcc4dfd9faa55b75191 +EBUILD translationstring-1.3.ebuild 1110 SHA256 23461d7a4717c85b693cd4cf4809bdc29cd81b236ef02695d5f9589783ed7125 SHA512 b1b78a3ec739e0f389252ce5ddee8b90fa19537edc0f2693ec6fdb12b443a78627118703b3c3e2ca0990438a7947880b286e3ed1939437de620bf9f276b0b0bd WHIRLPOOL 09f647c90a4db11878693adbf761d4d960becc13c3018c836059bfca1c2ff2bee1dbc94ee26dc868e0b3008bf3282da54542ea95e36e3d71a096e5f1c1418c4a +MISC ChangeLog 3057 SHA256 18b4bc9840db7996c164d25148c616d97e2d2a5c3667f25a74a5a797483e00a5 SHA512 2b5000255d72dbc6151fe56ee0ab2d3464543fb3a4d1ee6bb745943f534701e0231b6082812ab5360d03b4480a9465140f213c611a1af842d0c13b481bf63642 WHIRLPOOL a17283d39e1e95ee625e1d11fcae428ba0cd40036cf66964e848269fa5b2107e6322a715fc58e2b5e7b3a4bff21f7e7921d60630adfafa890c9fd777b5b4957b +MISC ChangeLog-2015 3175 SHA256 98e3f91cc0070f540c0e938f3a78ea926e9e8dd625ee96c1d3f8681a604011d9 SHA512 e648d6b0d2b77fd1d86fbe2add9f4cb6ee2d1939362f1abd52b70f660d1da25546ab27a434151a09c8162900af4b2767efb2c0646dad998a07ad150d2b64be8d WHIRLPOOL f2761937a3860941517fab23ecc0dcbc67ae8894dd3b1b11566f276e271f971da5f6d737318487cca39aa8db4e3d95e7fc492385ad7d1e76464bd4b3dbac8ee7 +MISC metadata.xml 396 SHA256 7d81c0ff009f23157bfb31af183110a93ef5e14484f24545d7eeafe51f044668 SHA512 6cfbb09e766bb9c10523808ea4da01f0998e03c239f633347523f57177816bb4c6efca2567ba53b2bf5b41274a3845d8a379294172c94067bb02f901175cc9e8 WHIRLPOOL 898113c7a40bd891e3d60f398f6ed1925b694a4df09f4a2b2f383c4705830bacabbf8b56b32207beef65f8a563f98522c8086d44da537ae6df045a2d6cc733ec diff --git a/dev-python/translationstring/metadata.xml b/dev-python/translationstring/metadata.xml new file mode 100644 index 000000000000..29d999ecc33d --- /dev/null +++ b/dev-python/translationstring/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">translationstring</remote-id> + <remote-id type="github">Pylons/translationstring</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/translationstring/translationstring-1.3.ebuild b/dev-python/translationstring/translationstring-1.3.ebuild new file mode 100644 index 000000000000..79128d6e68d9 --- /dev/null +++ b/dev-python/translationstring/translationstring-1.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Utility library for i18n relied on by various Repoze packages" +HOMEPAGE="https://github.com/Pylons/translationstring https://pypi.python.org/pypi/translationstring" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="repoze" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +# Include COPYRIGHT.txt because the license seems to require it. +DOCS=( COPYRIGHT.txt README.rst ) + +python_test() { + esetup.py test +} + +src_install() { + distutils-r1_src_install + + # Install only the .rst source, as sphinx processing requires a + # theme only available from git that contains hardcoded references + # to files on https://static.pylonsproject.org/ (so the docs would + # not actually work offline). Install into a "docs" subdirectory + # so the reference in the README remains correct. + docinto docs + docompress -x usr/share/doc/${PF}/docs + dodoc docs/*.rst +} |