<commit_before>COMMENT =           Python module for Kerberos 5

MODPY_EGG_VERSION = 1.0.90
DISTNAME =          python-krbV-${MODPY_EGG_VERSION}
PKGNAME =           py-krbV-${MODPY_EGG_VERSION}
EXTRACT_SUFX =      .tar.bz2
CATEGORIES =        security
HOMEPAGE =          https://fedorahosted.org/python-krbV/
MAINTAINER =        <NAME> <<EMAIL>>

FETCH_CMD =         ftp -o ${DISTNAME}${EXTRACT_SUFX} "${HOMEPAGE}/attachment/wiki/Releases/${DISTNAME}${EXTRACT_SUFX}?format=raw"

WANTLIB =           crypto krb5
MODULES =           lang/python

SEPARATE_BUILD =    simple
NO_REGRESS =        Yes
USE_LIBTOOL =       Yes
CONFIGURE_STYLE =   gnu
CONFIGURE_ENV =     LIBS=-lcrypto \
                    WRKSRC=${WRKSRC} \
                    LIBNAME=lib

# LGPLv2.1+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-krbV
	@for d in AUTHORS COPYING ChangeLog NEWS README \
	          krbV-code-snippets.py ; do \
		${INSTALL_DATA} ${WRKSRC}/$$d ${PREFIX}/share/doc/py-krbV/$$d ; \
	done

.include <bsd.port.mk>
<commit_msg>Rebuild python-krbV (PKGNAME py-krbV), fix fetching.<commit_after>COMMENT =           Python module for Kerberos 5

MODPY_EGG_VERSION = 1.0.90
REVISION =          0
DISTNAME =          python-krbV-${MODPY_EGG_VERSION}
PKGNAME =           py-krbV-${MODPY_EGG_VERSION}
EXTRACT_SUFX =      .tar.bz2
CATEGORIES =        security
HOMEPAGE =          https://fedorahosted.org/python-krbV/
MAINTAINER =        <NAME> <<EMAIL>>

WANTLIB =           crypto krb5
MODULES =           lang/python

CHECK_LIB_DEPENDS = Yes

SEPARATE_BUILD =    simple
NO_REGRESS =        Yes
USE_LIBTOOL =       Yes
CONFIGURE_STYLE =   gnu
CONFIGURE_ENV =     LIBS=-lcrypto \
                    WRKSRC=${WRKSRC} \
                    LIBNAME=lib

# LGPLv2.1+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes

# Source archive is attached to a wiki page
pre-fetch:
	@if [ ! -f "${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}" ]; then \
		${FETCH_CMD} -o "${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}" "${HOMEPAGE}/attachment/wiki/Releases/${DISTNAME}${EXTRACT_SUFX}?format=raw" ; \
	fi

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-krbV
	@for d in AUTHORS COPYING ChangeLog NEWS README \
	          krbV-code-snippets.py ; do \
		${INSTALL_DATA} ${WRKSRC}/$$d ${PREFIX}/share/doc/py-krbV/$$d ; \
	done

.include <bsd.port.mk>

{'fraction_non_alphanumeric': 0.12174609531437726, 'fraction_numerical': 0.007609130957148579, 'mean_word_length': 2.7172619047619047, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7188904', 'n_tokens_mistral': 999, 'n_tokens_neox': 950, 'n_words': 164}