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 /app-text/silvercity |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/silvercity')
-rw-r--r-- | app-text/silvercity/Manifest | 5 | ||||
-rw-r--r-- | app-text/silvercity/metadata.xml | 11 | ||||
-rw-r--r-- | app-text/silvercity/silvercity-0.9.7-r1.ebuild | 39 |
3 files changed, 55 insertions, 0 deletions
diff --git a/app-text/silvercity/Manifest b/app-text/silvercity/Manifest new file mode 100644 index 000000000000..eb49a54f4d77 --- /dev/null +++ b/app-text/silvercity/Manifest @@ -0,0 +1,5 @@ +DIST SilverCity-0.9.7.tar.gz 278396 SHA256 5b226e71d75c0afc4434c6fbfb44214e8728fd69703045b2134802f71ef049bd SHA512 230c4ce61a0dfef36ba63dfa2d290c2368ae0a1055445b1e17cd12ff436ec80ec91e5a8ff47870c19a3f7a50f958ce59bbe5be06aa07dd0bf0a70038ca3150b0 WHIRLPOOL 2a45f0952adf8542d04aef0111dfc926b5019108d739a168d591f8bd57c3064b7d6bc5f05a9d00d7939c42a935ec0d4b80fa14ca34107fee26dfcd8613ce6b2b +EBUILD silvercity-0.9.7-r1.ebuild 923 SHA256 0e2aad067fcc3d2ccf10097cafd9e9a401eeb5de67fa401da48442cc4efb1631 SHA512 6a224815f39ff8ef107fc62c23f0ca63fde672c792ec666816eca19ca1fd0aab2e6616c7b7873d18dfdd4d426b5cf88040ce292dd9ed6e07d6f5dde39b47ef62 WHIRLPOOL f7c925447541cbe57d5b9b3c7c0fbd5ee7745f53d97170cdabdb89b88bdc09da7da9040768f268c4c099c715831f5dd327a2111ed4fa6fbf726db85ae8ce629f +MISC ChangeLog 2804 SHA256 8136456444a7082337879ab91646ba5fd62b0016849d9ce96264c7726cd1d93a SHA512 dea9a1706897fd5ebb3798f58d3d80cdf39f8112b85e1563dea646fd00930d95a2cf73b30f0398458981b9dd96ce64588787c61d5604aca2bd4dce352a5892c0 WHIRLPOOL 10d8515ba9231916381b66c4fbd0ffc87e0d3d46aa9c52d2bb31b988a731ffe8a7cc15b37cb9d47224c7f373f384ab6a8792a10550fdab1f6899fd0136fa37b3 +MISC ChangeLog-2015 4237 SHA256 ceb6c5b6301cc14a25cf7e6a53d7e2a876bc9e4f4b3f2c8ff29e33ed0751a557 SHA512 e2e7e82a9ec6af8fa37da6a792a633729c781daa741bb000dfc7c0c2da7ca11d661f228c4949400c8cf5c26c9f47b2ec5d3e2996700f5edf8392a00dac9cb431 WHIRLPOOL 3d274bceba8eb807600524e2ca16c6c0d63f69ba39fa955539737fe4021d70b2e4b49f595238f856ace30d2e2972eb1a67cfd6372c6218eef7b34759f3037bd8 +MISC metadata.xml 330 SHA256 d2804628cbc4e90240148281867e1aac48f4a7683553ce0ebdaeb4195bc235ef SHA512 6ae025cf1a3a56a19a6fbf436c293fe57365e87d11386797f94fd680bd0d044c8c13860670e070af9c1cad7c0a5f6bd4c29468ac5177456d20196844482676bd WHIRLPOOL 2104a2a6ecd7487183e4806c0393f82cc5dbe3473acbab34df82d86eadb2e052e19bf317a37d01ca5ba92ccdaa1d5103549e60f09737a243d5dc189c25fbc6d7 diff --git a/app-text/silvercity/metadata.xml b/app-text/silvercity/metadata.xml new file mode 100644 index 000000000000..624b33e3a10e --- /dev/null +++ b/app-text/silvercity/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>web-apps@gentoo.org</email> + <name>Gentoo Webapps</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">silvercity</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/silvercity/silvercity-0.9.7-r1.ebuild b/app-text/silvercity/silvercity-0.9.7-r1.ebuild new file mode 100644 index 000000000000..36a16f780317 --- /dev/null +++ b/app-text/silvercity/silvercity-0.9.7-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils + +MY_PN="SilverCity" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A lexical analyser for many languages" +HOMEPAGE="http://silvercity.sourceforge.net/" +SRC_URI="mirror://sourceforge/silvercity/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # Fix line endings. + find -type f -exec sed -e 's/\r$//' -i {} + || die "sed failed" + + # Fix permissions. + chmod -x CSS/default.css || die "chmod failed" + + # Fix shebang. + sed -e 's:#!/usr/home/sweetapp/bin/python:#!/usr/bin/env python:' \ + -i PySilverCity/Scripts/cgi-styler-form.py || die "sed failed" + + distutils-r1_python_prepare_all +} |