kind: distutils
depends:
- erlang.bst
- unmaintained/django.bst
- unmaintained/xstatic.bst
- openstack-clients.bst
- unmaintained/test-tools.bst
- python-tools.bst
- unmaintained/openstack-services/py-amqp.bst
sources:
- kind: git
  url: upstream:python-packages/librabbitmq
  track: baserock/v1.6.1
  ref: ecccbd2c7d92f6e189e362b26def8d980fa50e3b
  submodules:
    rabbitmq-c:
      url: upstream:python-packages/rabbitmq-c-github-ask.git
    rabbitmq-codegen:
      url: upstream:rabbitmq-codegen.git
variables:
  python: python
config:
  configure-commands:
  - (cd rabbitmq-c; rm -rf codegen; ln -sf ../rabbitmq-codegen ./codegen)
  - (cd rabbitmq-c; autoreconf -fvi)
  - (cd rabbitmq-c; automake --add-missing)
  - (cd rabbitmq-c; ./configure --disable-tools --disable-docs)
  - (cd rabbitmq-c; make distdir)
  - mv rabbitmq-c/rabbitmq-c-0.5.3 clib
