dev-python/codegen - 1.0 (pentoo)

Search

Install

Install this version:

emerge -a =dev-python/codegen-1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/codegen-1.0

Or alternatively:

emerge --autounmask-write -a =dev-python/codegen-1.0

Package Information

Description:
Extension to ast that allow ast -> python code generation
Homepage:
https://github.com/andreif/codegen
License:
public-domain

Ebuild Details

Version EAPI Keywords Slot
1.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1

if [[ ${PV} = *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/andreif/codegen.git"
else
	HASH_COMMIT="${PV}"
	SRC_URI="https://github.com/andreif/codegen/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
fi

DESCRIPTION="Extension to ast that allow ast -> python code generation"
HOMEPAGE="https://github.com/andreif/codegen"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"

Inherited Eclasses

Manifest for 1.0

Type File Size Source URLs
DIST codegen-1.0.tar.gz 4933 bytes https://github.com/andreif/codegen/archive/1.0.tar.gz