dev-lang/hy: treeclean
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
9bec82c939
commit
6c99e107b6
@ -1 +0,0 @@
|
|||||||
DIST hy-1.0_alpha1.tar.gz 463320 BLAKE2B d6194038f66232ada4ffe4f59565a0895c44a4b3d0a442a9d35f148db29aad61e2a312372c90676abeadf995d6d5493a322a5aff42599f0de380449b9af8f74d SHA512 283d9474118e9dae9a58b7cf89127ff69ce6328659e7d8fffaefa2167598094cbca6b56eb3f3dafede81bb1569df1ae09a5834ad1133c6821576fe3fa3fca0b4
|
|
@ -1,22 +0,0 @@
|
|||||||
Don't install get_version.py
|
|
||||||
|
|
||||||
This reverts commit 7361b37a7580bb5caaf7696b7bff5954042fd52b.
|
|
||||||
|
|
||||||
This file is not used at runtime, and the way it was installed violated FHS.
|
|
||||||
|
|
||||||
---
|
|
||||||
setup.py | 3 ---
|
|
||||||
1 file changed, 3 deletions(-)
|
|
||||||
|
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -58,9 +58,6 @@ def run(self):
|
|
||||||
'hy.core': ['*.hy', '__pycache__/*'],
|
|
||||||
'hy.extra': ['*.hy', '__pycache__/*'],
|
|
||||||
},
|
|
||||||
- data_files=[
|
|
||||||
- ('get_version', ['get_version.py'])
|
|
||||||
- ],
|
|
||||||
author="Paul Tagliamonte",
|
|
||||||
author_email="tag@pault.ag",
|
|
||||||
long_description=long_description,
|
|
@ -1,54 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
|
||||||
PYTHON_COMPAT=( python3_{8,9} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A LISP dialect running in python"
|
|
||||||
HOMEPAGE="http://hylang.org/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/hylang/${PN}.git"
|
|
||||||
else
|
|
||||||
MY_PV="${PV/_alpha/a}"
|
|
||||||
SRC_URI="https://github.com/hylang/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# tests fail
|
|
||||||
RESTRICT="mirror test"
|
|
||||||
# RESTRICT="
|
|
||||||
# !test? ( test )
|
|
||||||
# mirror
|
|
||||||
# "
|
|
||||||
# L
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/astor-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/clint-0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/rply-0.7.6[${PYTHON_USEDEP}]
|
|
||||||
dev-python/flake8[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-0.15.0-do-not-install-get_version.py.patch" )
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests -vv || die "Tests failed under ${EPYTHON}"
|
|
||||||
}
|
|
@ -1,54 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
|
||||||
PYTHON_COMPAT=( python3_{8,9} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A LISP dialect running in python"
|
|
||||||
HOMEPAGE="http://hylang.org/"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/hylang/${PN}.git"
|
|
||||||
else
|
|
||||||
MY_PV="${PV/_alpha/a}"
|
|
||||||
SRC_URI="https://github.com/hylang/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# tests fail
|
|
||||||
RESTRICT="mirror test"
|
|
||||||
# RESTRICT="
|
|
||||||
# !test? ( test )
|
|
||||||
# mirror
|
|
||||||
# "
|
|
||||||
# L
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/astor-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/clint-0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/rply-0.7.6[${PYTHON_USEDEP}]
|
|
||||||
dev-python/flake8[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-0.15.0-do-not-install-get_version.py.patch" )
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests -vv || die "Tests failed under ${EPYTHON}"
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>xgqt@protonmail.com</email>
|
|
||||||
<name>Maciej Barć</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription lang="en">
|
|
||||||
Lisp and Python should love each other. Let's make it happen.
|
|
||||||
Hy is a Lisp dialect that's embedded in Python. Since Hy transforms
|
|
||||||
its Lisp code into Python abstract syntax tree (AST) objects,
|
|
||||||
you have the whole beautiful world of Python at your fingertips,
|
|
||||||
in Lisp form.
|
|
||||||
</longdescription>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">hylang/hy</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
Loading…
Reference in New Issue
Block a user