diff --git a/.gitmodules b/.gitmodules index c3c744f16..de728ed92 100644 --- a/.gitmodules +++ b/.gitmodules @@ -8445,3 +8445,7 @@ path = recommenders-feedstock url = ../recommenders-feedstock branch = main +[submodule "backports-feedstock"] + path = backports-feedstock + url = https://github.com/AnacondaRecipes/backports-feedstock + branch = main diff --git a/backports-feedstock b/backports-feedstock new file mode 160000 index 000000000..b8583a609 --- /dev/null +++ b/backports-feedstock @@ -0,0 +1 @@ +Subproject commit b8583a60922e44d16e7a8ee816c75836232f7e86 diff --git a/backports-feedstock/recipe/__init__.py b/backports-feedstock/recipe/__init__.py deleted file mode 100644 index c4ba927dd..000000000 --- a/backports-feedstock/recipe/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This empty file makes the backports namespace package work. -# It is the only file included in the 'backports' conda package. -# Conda packages which use the backports namespace do not include -# this file, but depend on the 'backports' conda package instead. diff --git a/backports-feedstock/recipe/bld.bat b/backports-feedstock/recipe/bld.bat deleted file mode 100644 index 0c52dad68..000000000 --- a/backports-feedstock/recipe/bld.bat +++ /dev/null @@ -1,4 +0,0 @@ -set BP=%SP_DIR%\backports -mkdir %BP% -copy %RECIPE_DIR%\__init__.py %BP%\ -python -c "import backports" diff --git a/backports-feedstock/recipe/build.sh b/backports-feedstock/recipe/build.sh deleted file mode 100644 index e8c549bbf..000000000 --- a/backports-feedstock/recipe/build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -BP=$SP_DIR/backports -mkdir $BP -cp $RECIPE_DIR/__init__.py $BP/ -$PYTHON -c "import backports" diff --git a/backports-feedstock/recipe/meta.yaml b/backports-feedstock/recipe/meta.yaml deleted file mode 100644 index 5d055d1e2..000000000 --- a/backports-feedstock/recipe/meta.yaml +++ /dev/null @@ -1,39 +0,0 @@ -{% set name = "backports" %} -{% set version = "1.1" %} - -package: - name: "{{ name }}" - version: "{{ version }}" - -source: - url: https://github.com/brandon-rhodes/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz - sha256: 64fbda275c95e04f09ca5c11e33527866b1b1c8f16bb0eea2f504f2d3b60195c - -build: - number: 0 - noarch: python - -requirements: - host: - - python - - setuptools - run: - - python - -test: - imports: - - backports - requires: - - pip - commands: - - pip check - -about: - home: https://github.com/brandon-rhodes/backports - license: MIT - license_family: MIT - summary: Namespace for backported Python features. - description: | - Namespace for backported Python features. - dev_url: https://github.com/brandon-rhodes/backports - doc_url: https://pypi.python.org/pypi/backports/