pkgsrc/devel/py-meson/Makefile
prlw1 dd9f82a664 Update py-meson to 0.47.2
Highlights:

      find_library: Use _build_wrapper to get library dirs
      python.find_installation: only try to find python with the
        py launcher if it isn't in PATH
      Fix @CURRENT_SOURCE_DIR@ in generator()
      Fix directory verification. Closes #3857.
      Add 32 bit sparc processor support. Closes #3901.
      Add support for s390x CPUs. Closes #3897.
      mesonbuild: Recognise risc-v architecture
      configure_file: Don't optimize away substitutions
      environment: Map mipsel -> mips, mips64el -> mips64
      Add new method: mlog.deprecation()
      Raise a MesonException when substituting an invalid value
      Print a more usable message when a subproject fails to configure
      get_library_naming: Use templates instead of suffix/prefix pairs
      find_library: Fix manual searching on OpenBSD
      find_library: Fix priority of library search in OpenBSD
      find_library: Validate and sort globbed shared library files
      gnome.gdbus_codegen: Handle XML docbook in subdirs
      Print a useful error when a compiler is not found in the cross file
      Add a feature-new entry for UserFeatureOption
      PkgConfigDependency: Fix library path search order
      Don't check version for fallback not-found dependency
      PkgConfigDependency: Parse library paths in a separate step
      find_library: Allow undefined symbols while linking
      Test that system shlibs with undefined symbols can be found
      Make the dependency order deterministic.
      Make the rpath order deterministic.
2018-09-04 14:46:52 +00:00

45 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2018/09/04 14:46:52 prlw1 Exp $
DISTNAME= meson-0.47.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/meson/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mesonbuild.com/
COMMENT= Open source build system meant to be fast and user friendly
LICENSE= apache-2.0
DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build
PYTHON_VERSIONS_INCOMPATIBLE= 27
# c++ for tests
USE_LANGUAGES= c c++
SUBST_CLASSES+= man
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
SUBST_FILES.man+= setup.py
SUBST_STAGE.man= pre-configure
SUBST_MESSAGE.man= Fixing man page installation path.
REPLACE_PYTHON+= *.py
REPLACE_PYTHON+= */*.py
REPLACE_PYTHON+= */*/*.py
REPLACE_PYTHON+= */*/*/*.py
REPLACE_PYTHON+= */*/*/*.in
REPLACE_PYTHON+= */*/*/*/*.py
REPLACE_PYTHON+= */*/*/*/*/*.py
post-extract:
# see https://github.com/mesonbuild/meson/issues/695
# patching does not work, perhaps due to spaces in path?
${CP} ${FILESDIR}/meson.build ${WRKSRC}/test\ cases/frameworks/6\ gettext/src/meson.build
do-test:
${LN} -s ${PYTHONBIN} ${BUILDLINK_DIR}/bin/python3
cd ${WRKSRC} && ${PYTHONBIN} run_tests.py
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"