Commit 7369dd877ae34547a8167964760931a0f2c3da7c

Authored by Lucas Kanashiro
0 parents
Exists in master

Initial commit

.gitignore 0 → 100644
  1 +++ a/.gitignore
... ... @@ -0,0 +1,3 @@
  1 +/dist
  2 +/build
  3 +/colab-plugins-*
... ...
Makefile 0 → 100644
  1 +++ a/Makefile
... ... @@ -0,0 +1,46 @@
  1 +NAME = colab-plugins
  2 +VERSION = 1.13.0
  3 +PREFIX = /usr
  4 +TARGET = $(DESTDIR)$(PREFIX)/lib/colab
  5 +DISTDIR = $(NAME)-$(VERSION)
  6 +TARBALL = dist/$(DISTDIR).tar.gz
  7 +
  8 +
  9 +all: virtualenv
  10 + ./build/bin/pip install --no-index --find-links=$(DISTDIR) pip==1.5.6
  11 + ./build/bin/pip install --no-index --find-links=$(DISTDIR) --no-deps -r requirements-colab-plugins.txt
  12 + virtualenv --relocatable ./build
  13 +
  14 +clean:
  15 + $(RM) -r ./build
  16 +
  17 +SOURCES = Makefile requirements-colab-plugins.txt
  18 +
  19 +install:
  20 + mkdir -p $$(dirname $(TARGET))
  21 + rm -rf $(TARGET)
  22 + cp -r ./build $(TARGET)
  23 +
  24 +
  25 +sdist: $(TARBALL)
  26 +
  27 +$(TARBALL):
  28 + mkdir -p $$(dirname $(TARBALL))
  29 + $(RM) $(TARBALL)
  30 + tar czf $(TARBALL) $(SOURCES) $(DISTDIR)
  31 +
  32 +distclean:
  33 + $(RM) -r $$(dirname $(TARBALL)) src/
  34 + $(RM) -r $(DISTDIR)
  35 +
  36 +downloadtar: virtualenv
  37 + mkdir -p $(DISTDIR)
  38 + wget https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz -O $(DISTDIR)/pip-1.5.6.tar.gz
  39 + wget https://github.com/colab/colab-noosfero-plugin/archive/v0.2.5.zip -O $(DISTDIR)/colab-noosfero-plugin-0.2.5.zip
  40 + wget https://github.com/colab/colab-gitlab-plugin/archive/v0.2.5.zip -O $(DISTDIR)/colab-gitlab-plugin-0.2.5.zip
  41 + wget https://github.com/colab/colab-mezuro-plugin/archive/v0.1.2.zip -O $(DISTDIR)/colab-mezuro-plugin-0.1.2.zip
  42 +
  43 +.PHONY: virtualenv
  44 +virtualenv:
  45 + rm -rf ./build
  46 + virtualenv ./build
... ...
README.md 0 → 100644
  1 +++ a/README.md
... ... @@ -0,0 +1,2 @@
  1 +Dependencies:
  2 +* python-virtualenv
... ...
requirements-colab-plugins.txt 0 → 100644
  1 +++ a/requirements-colab-plugins.txt
... ... @@ -0,0 +1,4 @@
  1 +colab-noosfero-plugin==0.2.5
  2 +colab-gitlab-plugin==0.2.5
  3 +colab-spb-plugin==0.2.6
  4 +colab-mezuro-plugin==0.1.2
... ...