dev-php/symfony-polyfill-intl-idn - 1.33.0 (nest)

Search

Package Information

Description:
Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
Homepage:
https://github.com/symfony/polyfill-intl-idn
License:
MIT

Ebuild Details

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

EAPI=8

inherit optfeature

MY_PN="${PN//symfony-/}"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions"
HOMEPAGE="https://github.com/symfony/polyfill-intl-idn"
SRC_URI="https://github.com/symfony/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test" # no tests

RDEPEND="dev-lang/php:*
	dev-php/fedora-autoloader
	dev-php/symfony-polyfill-intl-normalizer"

src_install() {
	einstalldocs
	insinto /usr/share/php/Symfony/Polyfill/Intl/Idn
	doins -r Resources "${FILESDIR}"/autoload.php ./*.php
}

pkg_postinst() {
	optfeature "Support of more locales" dev-lang/php[intl]
}

Dependencies

RDEPEND

dev-lang/php:*
	dev-php/fedora-autoloader
	dev-php/symfony-polyfill-intl-normalizer

Manifest for 1.33.0

Type File Size Source URLs
DIST symfony-polyfill-intl-idn-1.33.0.tar.gz 59542 bytes https://github.com/symfony/${PN//symfony-/}/archive/v1.33.0.tar.gz