Skip to content

Commit

Permalink
Use requires files again.
Browse files Browse the repository at this point in the history
  • Loading branch information
icmurray authored and amercader committed Oct 19, 2012
1 parent 8b5d32d commit 8862a4f
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions build.sh
Expand Up @@ -43,21 +43,14 @@ rm -rf ${CKAN_PATH}/build/buildkit/env/src
mkdir -p ${CKAN_PATH}/dist/buildkit
echo "done."

# In lieu of a requires directory, copy the pip-requirements into
# requires/lucid_conflict. This ensures that the required packages
# are installed in a way so as not to clobber any existing
# system-wide dependencies.
mkdir "${CKAN_PATH}/requires"
cp "${CKAN_PATH}/pip-requirements.txt" "${CKAN_PATH}/requires/${UBUNTU_RELEASE}_conflict.txt"

echo "Building the packages ..."
# Create the python-ckan debian package
buildkit pkg python -p $CKAN_PACKAGE_VERSION \
--delete "solrpy" \
--distro-dep "python-solr" \
--distro-dep "libc6" \
--distro-dep "libpq5" \
--delete "repoze.who-friendlyform" \
--rename "repoze.who.plugins.openid -> repoze.who-plugins" \
--rename "babel -> pybabel" \
--author-email="$EMAIL" \
--author-name="$NAME" \
--packager-email="$EMAIL" \
Expand Down

0 comments on commit 8862a4f

Please sign in to comment.