Giter Club home page Giter Club logo

homebrew-noop's Introduction

stepanstipl/noop

This repo is not maintained anymore, I would recommend using docker for rpm related stuff, for example stepanstipl/centos7-rpm-devtools image.

Stepan's personal tap for homebrew formulae

This tap was originally created when I've decided to move from MacPorts (http://www.macports.org/) to Homebrew (http://brew.sh/) and one major things that I was immediately missing was createrepo tool for generating rpm repositories metadata.

How do I install these?

  • I suppose you have Homebrew installed (if not follow instructions at http://brew.sh/)
  • Add this tap: brew tap stepanstipl/noop
  • Install what you want: brew install <formula>

Formulae in this tap:

  • Createrepo tool for generating rpm repositories metadata.
  • Latest stable version 0.4.11.
  • After installing libxml2, make sure it's symlinked to /usr/local:
    • echo /usr/local/opt/libxml2/lib/python2.7/site-packages >> /usr/local/lib/python2.7/site-packages/libxml2.pth

yum-metadata-parser (http://yum.baseurl.org/)

  • Fast yum metadata parser in C. Dependency for createrepo.
  • Version 1.1.4.
  • Classical rpm tool - version 4, version used by main Linux distributions like RHEL, CentOS and Fedora (default one in Homebrew is rpm5, but that one does not have python bindings required by createrepo).
  • This one conflicts with default rpm.
  • Version 4.12.0.1
  • If you're using system Python, make sure Homebre's site-packages are added to your Python sys.path:
    • mkdir -p /Users/$(whoami)/Library/Python/2.7/lib/python/site-packages
    • echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/$(whoami)/Library/Python/2.7/lib/python/site-packages/homebrew.pth
  • Tool for checking common errors in rpm packages.
  • Version 1.6.

Caveats:

  • If you're using system Python, make sure Homebrew's site-packages are added to your Python sys.path:
    • mkdir -p /Users/$(whoami)/Library/Python/2.7/lib/python/site-packages
    • echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/$(whoami)/Library/Python/2.7/lib/python/site-packages/homebrew.pth
  • After installing libxml2, make sure it's symlinked to /usr/local:
    • echo /usr/local/opt/libxml2/lib/python2.7/site-packages >> /usr/local/lib/python2.7/site-packages/libxml2.pth

Issues:

Please use GitHub's issue tracker for reporting issues and eventually any suggestions etc. Please, please follow Homebrew's section Troubleshooting before you report any issue https://github.com/Homebrew/homebrew#troubleshooting.

License:

Released under MIT License. Feel free to redistribute and contribute!

Todo:

  • Add Travis CI tests
  • Maybe "Who are you?" section
  • Tests in Vagrant
  • See about homebrew python vs. system

homebrew-noop's People

Contributors

stepanstipl avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.